public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Schmidt, Adriaan" <adriaan.schmidt@siemens.com>
To: "jan.kiszka@siemens.com" <jan.kiszka@siemens.com>,
	"henning.schild@siemens.com" <henning.schild@siemens.com>,
	"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: RE: [PATCH] sdk: make SDK and image
Date: Wed, 15 Dec 2021 08:07:47 +0000	[thread overview]
Message-ID: <AS4PR10MB53186609867C19334B4ECB40ED769@AS4PR10MB5318.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <41f3fa9c-3e62-8839-19e5-96c36288f612@siemens.com>

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...

Adriaan


  reply	other threads:[~2021-12-15  8:07 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 [this message]
2021-12-15  8:38     ` Jan Kiszka
2021-12-15  8:43       ` Henning Schild
2021-12-15  9:20         ` Jan Kiszka
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=AS4PR10MB53186609867C19334B4ECB40ED769@AS4PR10MB5318.EURPRD10.PROD.OUTLOOK.COM \
    --to=adriaan.schmidt@siemens.com \
    --cc=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.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