From: Jan Kiszka <jan.kiszka@siemens.com>
To: Henning Schild <henning.schild@siemens.com>
Cc: "Schmidt,
Adriaan (T RDA IOT SES-DE)" <adriaan.schmidt@siemens.com>,
"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: Re: [PATCH] sdk: make SDK and image
Date: Wed, 15 Dec 2021 10:20:09 +0100 [thread overview]
Message-ID: <0850a0e8-05e8-390b-facd-7c5550ca7752@siemens.com> (raw)
In-Reply-To: <20211215094343.5710db46@md1za8fc.ad001.siemens.net>
On 15.12.21 09:43, Henning Schild wrote:
> Am Wed, 15 Dec 2021 09:38:24 +0100
> schrieb Jan Kiszka <jan.kiszka@siemens.com>:
>
>> On 15.12.21 09:07, Schmidt, Adriaan (T RDA IOT SES-DE) wrote:
>>> Kiszka, Jan (T RDA IOT), 15. Dezember 2021 08:52:
>>>> On 15.12.21 07:41, Adriaan Schmidt wrote:
>>>>> This derives the SDK from image.bbclass (currently it only
>>>>> inherits rootfs), removing the awkward and custom tar-xz'ing.
>>>>> Note that because there is not tarxz-img IMAGE_TYPE, we switch
>>>>> the SDK type to targz-img. This is only temporary, until we have
>>>>> the OE-inspired imagetypes.
>>>>>
>>>>> API change: SDK is now no longer built using `bitbake my_image
>>>>> -cpopulate_sdk`, but using `bitbake isar-sdk`. We could of
>>>>> course keep the old commands working, but I could not find any
>>>>> connection between the target image and the contents of the
>>>>> SDK (while building the SDK using the target image recipe
>>>>> confusingly makes it look like there is such a connection).
>>>>
>>>> This is not correct: The target image recipe may define
>>>> SDK_[PRE]INSTALL in correspondance to its content. Also, changing
>>>> the user API would needlessly break the alignment with OE.
>>>
>>> But the SDK is built by a completely different recipe (sdkchroot,
>>> inheriting rootfs), so how does SDK_[PRE]INSTALL set in the target
>>> image recipe have any effect there? Looks to me that those
>>> variables need to be set in some .conf for this to work, but maybe
>>> I'm missing something...
>>
>> Well, if that is the case now, we indeed have a bug. But the fixing
>> direction should be along that line "image defines SDK", not "SDK is
>> something completely different".
>
> NACK. If we have that bug we can apply that patch to enable my series,
> and deal with that bug later.
NACK for user-visible API changes - if we fix something internally
without breaking how a user triggers the build, then this is fine. But
we must not fix in the wrong direction, like this patch is suggesting.
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2021-12-15 9:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-15 6:41 Adriaan Schmidt
2021-12-15 7:51 ` Jan Kiszka
2021-12-15 8:07 ` Schmidt, Adriaan
2021-12-15 8:38 ` Jan Kiszka
2021-12-15 8:43 ` Henning Schild
2021-12-15 9:20 ` Jan Kiszka [this message]
2021-12-15 9:35 ` Schmidt, Adriaan
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=0850a0e8-05e8-390b-facd-7c5550ca7752@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=adriaan.schmidt@siemens.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