public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Zhihang Wei <wzh@ilbers.de>
To: Felix Moessbauer <felix.moessbauer@siemens.com>,
	isar-users@googlegroups.com
Subject: Re: [PATCH 1/1] sdk: remove isar-apt before running configscript
Date: Tue, 15 Sep 2026 11:01:26 +0200	[thread overview]
Message-ID: <66eb70fd-2236-490c-a022-fdb31344e7d1@ilbers.de> (raw)
In-Reply-To: <20260909063908.1292693-1-felix.moessbauer@siemens.com>

Applied to next, thanks.

Zhihang

On 9/9/26 08:39, 'Felix Moessbauer' via isar-users wrote:
> When using SDK_INCLUDE_ISAR_APT=0, the generated rootfs should not
> include any traces of the isar-apt. However, as the config script runs
> prior to the cleanup of the isar-apt, the apt-get update still has the
> apt source list reference and leaks data into the sdk.
>
> We fix this by explicitly dropping the isar-apt prior to running the
> configure script.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> ---
>   meta/classes-recipe/sdk.bbclass | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes-recipe/sdk.bbclass b/meta/classes-recipe/sdk.bbclass
> index ca38cfc3..543df84b 100644
> --- a/meta/classes-recipe/sdk.bbclass
> +++ b/meta/classes-recipe/sdk.bbclass
> @@ -81,6 +81,7 @@ sdkchroot_configscript () {
>           chroot ${ROOTFSDIR} /configscript.sh ${DISTRO_ARCH}
>   EOF
>   }
> +ROOTFS_POSTPROCESS_COMMAND:prepend:class-sdk = "${@'' if bb.utils.to_boolean(d.getVar('SDK_INCLUDE_ISAR_APT')) else 'rootfs_cleanup_isar_apt'} "
>   
>   ROOTFS_POSTPROCESS_COMMAND:append:class-sdk = " sdkchroot_finalize"
>   sdkchroot_finalize() {

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/66eb70fd-2236-490c-a022-fdb31344e7d1%40ilbers.de.

      reply	other threads:[~2026-09-15  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-09  6:39 'Felix Moessbauer' via isar-users
2026-09-15  9:01 ` Zhihang Wei [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=66eb70fd-2236-490c-a022-fdb31344e7d1@ilbers.de \
    --to=wzh@ilbers.de \
    --cc=felix.moessbauer@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