From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6798139016226013184 X-Received: by 2002:a17:906:3045:: with SMTP id d5mr7328857ejd.172.1585908381095; Fri, 03 Apr 2020 03:06:21 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:68d8:: with SMTP id y24ls3274805ejr.9.gmail; Fri, 03 Apr 2020 03:06:20 -0700 (PDT) X-Google-Smtp-Source: APiQypJCfpZjnJwzcyPIp7UgMxUPFwFoeco7Nc8RTvcqduBKPml+dGe3D41mdOoL46GuoA1q9drp X-Received: by 2002:a17:906:f1d3:: with SMTP id gx19mr7706662ejb.35.1585908380427; Fri, 03 Apr 2020 03:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585908380; cv=none; d=google.com; s=arc-20160816; b=zG0n1SpzdwyuN1pFvKYBy+f3qzRX3MU1FJE/MgjTpRO4dKzM2Amt4wqInZnXVDPk1D pPoj4ACY7ZJnOSwkpcRv9OaTACUnhtIKnHwr/sk2k8aRkVFcTRb+LzwaYFgIKqVdwDOp hfYnBU/aEjXvydoh8QagXdIGHkWqjXVce/NIe2jFUCFDK1wy+QgTBXsGyC2Lc/CdUlca xvUKF0FELvV6+PHI+qW1rzkUrarJbrXB8a3WqNevlhicNxq6iklBhCFzAIqSAybezWxN r/lrFqFIYqwcMrl1A9Hnvse1dRc1IlJr7aEL95I/MJjwILYdWV3RSeopEflap5dmxHzW ZPGw== 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:cc:to:subject; bh=5s0bHuH769HV0pa/1U2jZPdKFbfM1LGfsOssAEgelDY=; b=NR/g/TswoDQOMc2IrmoakPrQN2xPZjZn6nGenVWxRb9kOBCjH1yQykDEQ5B8qPjBhu aQL7GyWCw19LhaCSqTsd3vKpFrT9aQjsZ3zRop7Fn1HFHEZ9CRZNkpfISjPzr7J47c4W jC3eM6RG9B6ququJuoXDlJPweWeztnY3wRxsbv9rj/nDTAzfRBKxbuAP7e0U4/8vGTAl IzJjWDdoPUHOj2Srk2JCON4V8BLUxog1g8B2UPcYYv8QdMTPFoq07wTJnAi4Su7WfFLM O2zv8zwknnX4+g1qzWIG+kKP4IeN+CV2CEly6JltZRbqWzh0VzDFb6lgWwY1R7o3XZZa 3vZg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id j9si594558ejx.0.2020.04.03.03.06.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Apr 2020 03:06:20 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 033A6JXt013542 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 3 Apr 2020 12:06:20 +0200 Received: from [139.22.137.14] ([139.22.137.14]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 033A6IY4005875; Fri, 3 Apr 2020 12:06:19 +0200 Subject: Re: dpkg-raw git fetch To: "[ext] Henning Schild" , cedric_hombourger@mentor.com Cc: isar-users References: <5a454616-f591-8a43-4ea7-eaed4fbe236c@siemens.com> <51e462f0-aa1f-c33c-a57b-f4773efdbb4d@siemens.com> <20200309175936.6927bf4f@md1za8fc.ad001.siemens.net> <87825320-c0cc-4876-8b53-8c3fe6d30db2@googlegroups.com> <20200310163621.1d87716c@md1za8fc.ad001.siemens.net> From: Jan Kiszka Message-ID: Date: Fri, 3 Apr 2020 12:06:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200310163621.1d87716c@md1za8fc.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: TIcVbIgCjGbJ On 10.03.20 16:36, [ext] Henning Schild wrote: > On Tue, 10 Mar 2020 08:08:27 -0700 > wrote: > >> On Monday, March 9, 2020 at 5:59:40 PM UTC+1, Henning Schild wrote: >>> >>> On Fri, 28 Feb 2020 13:08:10 +0000 >>> "[ext] sven.sc...@siemens.com " >>> > >>> wrote: >>> >>>> Hi, >>>> >>>> I'm a little bit confused. In the task unpack the SRC_URI files >>>> will be put into WORKDIR >>>> >>> https://github.com/ilbers/isar/blob/f3d50cfb9b7a5740c6dd11ee58fc4ba1a1815eca/meta/classes/base.bbclass#L182 >>> >>>> >>>> But in the next task S (workdir/git) will be cleared. >>>> >>> https://github.com/ilbers/isar/blob/f3d50cfb9b7a5740c6dd11ee58fc4ba1a1815eca/meta/classes/dpkg-raw.bbclass#L15 >>> >>>> >>>> Should I understand why ${S} will be cleard before do_install is >>>> called? >>> >>> I think you might have found an issue with the distinction of S and >>> D. In fact they should be different folders but for dpkg-raw they >>> are not. I think also the debianize class does not clearly >>> distinguish them. >>> >>> >> I coincidentally ran into the same issue yesterday and yes debianize >> assumes all the work should be done in ${S} >> should debianize expose a DEBIANIZE_DIR defaulting to ${S} and let >> dpkg-raw set it to ${D} instead? > > Unfortunately bitbake/oe lack good descriptions of the two. But those > can be found here: > https://devmanual.gentoo.org/ebuild-writing/variables/ and probably > also in FreeBSD > > That means that debianization should be done on S, not D. > > And OE also has 'D = "${WORKDIR}/image"', which seems to be missing in > Isar. OK, now I'm running into the same mess, wondering why some recipe was carrying a patch that targeted the installation dir, rather than the source (which broke randomly). Do you have the patch for this issue already? Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux