From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6655243553863630848 X-Received: by 2002:a50:a5f1:: with SMTP id b46mr2221320edc.12.1549553495155; Thu, 07 Feb 2019 07:31:35 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:4591:: with SMTP id t17ls552562ejq.3.gmail; Thu, 07 Feb 2019 07:31:34 -0800 (PST) X-Google-Smtp-Source: AHgI3IYnB/VPfsAkoKJscOHb5li/G/bXtGbfRc+LMWEos2g8zzse7Xrrc/J5DBVv34BAb74m5vmz X-Received: by 2002:a17:906:6847:: with SMTP id a7mr1051183ejs.16.1549553494580; Thu, 07 Feb 2019 07:31:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549553494; cv=none; d=google.com; s=arc-20160816; b=pnRnqeNkYo7Ch4wyfsqBLnc41IP5zkZaqEIZna7Fj3+Y2xE2okAUtY9sNqezJzoZR1 1Pjt/Y5RoTAtgAzescZuUzMPfjhmbdytE9IY3O+vxYk6Go17+rE4oCxcRNo0ME+XAZHh F2gQDtuab7m7lRuMV+vn2auhCopaGAgJGAI9MfcMNruc+OUFRNhEHD/QnOQTjLxVqVZA Ly7iCbOBSTRAr4Atq5dYI2sHUqsFzdmDYaWLR5LDU/9rK2Va3qxKdaJTdehClx5q+M3b aDSBFSZYiHcREY+81m+bezD4fulgUo1HK3ej11w2hk9FiH8UgR0u4/ECVwGBracaNvsG cQbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=UdYfEa3WpyyhcGkUgWlBAbeoqiRAtf17DkTRV81TCNI=; b=oRHiXl0X/KquCYNokSittMefm31l3qi0u2JC3DrdRcpZmlwsrNmp60dcCNJTgNlB2D 0d2wWjpTqgQtOzE35W3S8OiKX2HpA5+vOizCftMfH/fK7kXPUmAESyTLwJenwCH0N0y9 GjrobKqGLo0PfIxvv+H4t40KVNmFx/d1x1MQBxkAPqUHnL765KadnqvUkuBIju+RJI/9 F58kGig7KHuKJgVNdecCtMK+tdb8tyzFUci44NUZHT9betWgbvzEsbniC/DXyUovOhd9 agNATe6srMU/I4pa+sXSH8F33Pb13k8UJLrzf/cHbabFzEMrlgGjeMQSCmtHReULQ4F4 ZpIg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id l1si1486735ejs.1.2019.02.07.07.31.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Feb 2019 07:31:34 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id x17FVXNr024071 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 7 Feb 2019 16:31:34 +0100 Received: from [139.25.68.37] (md1q0hnc.ad001.siemens.net [139.25.68.37] (may be forged)) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x17FVV46001016; Thu, 7 Feb 2019 16:31:31 +0100 Subject: Re: do_adjust_git in dpkg-base.class To: "[ext] Lisicki, Raphael" , "isar-users@googlegroups.com" References: From: Jan Kiszka Message-ID: Date: Thu, 7 Feb 2019 16:31:31 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: KrDIhg148l8l On 07.02.19 14:03, [ext] Lisicki, Raphael wrote: > Hello everybody, > > the function do_adjust_git in dpkg-base.class breaks git for all operations outside of the buildchroot. E.g. it is not possible to use git in a prepare_build command, as it is not yet done in the buildchroot, but the git adjustment has already been done. > I would suggest to move the call to do_adjust_git into dpkg_do_mounts and maybe even undo it afterwards, so that targets that run after build can also have access to a working git repo. Moving it earlier should probably be fine. But undoing after some step can cause troubles when your rebuild your target and do not restart the task that applies the adjustment. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux