public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "[ext] Henning Schild" <henning.schild@siemens.com>,
	cedric_hombourger@mentor.com
Cc: isar-users <isar-users@googlegroups.com>
Subject: Re: dpkg-raw git fetch
Date: Fri, 3 Apr 2020 12:06:18 +0200	[thread overview]
Message-ID: <b2f28168-e8cd-c5a5-f299-ec7c790c6479@siemens.com> (raw)
In-Reply-To: <20200310163621.1d87716c@md1za8fc.ad001.siemens.net>

On 10.03.20 16:36, [ext] Henning Schild wrote:
> On Tue, 10 Mar 2020 08:08:27 -0700
> <cedric_hombourger@mentor.com> 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 <javascript:>"
>>> <sven.sc...@siemens.com <javascript:>>
>>> 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

      reply	other threads:[~2020-04-03 10:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27 14:51 sven.schultschik
2020-02-27 14:58 ` Jan Kiszka
2020-02-27 16:39   ` AW: " sven.schultschik
2020-02-27 17:00     ` Jan Kiszka
2020-02-28 13:08       ` AW: " sven.schultschik
2020-02-28 13:46         ` Gylstorff Quirin
2020-03-09 16:59         ` Henning Schild
2020-03-10 15:08           ` cedric_hombourger
2020-03-10 15:36             ` Henning Schild
2020-04-03 10:06               ` Jan Kiszka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b2f28168-e8cd-c5a5-f299-ec7c790c6479@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=cedric_hombourger@mentor.com \
    --cc=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox