public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Liu, Yi' via isar-users" <isar-users@googlegroups.com>
To: "Kiszka, Jan" <jan.kiszka@siemens.com>
Cc: "isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: RE: [PATCH] bitbake: Move the preferred bootstrap assignment before including local.conf
Date: Fri, 31 Oct 2025 02:53:20 +0000	[thread overview]
Message-ID: <AS2PR10MB692752E80892472B234F4B43BFF8A@AS2PR10MB6927.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <5ee58a41-76f1-4c61-bce2-2c46a357abbb@siemens.com>

> -----Original Message-----
> From: Kiszka, Jan (FT RPD CED) <jan.kiszka@siemens.com>
> Sent: Thursday, October 30, 2025 7:29 PM
> To: Liu, Yi (FT RPD CED INW-CN) <liuyi@siemens.com>; isar-
> users@googlegroups.com
> Subject: Re: [PATCH] bitbake: Move the preferred bootstrap assignment
> before including local.conf
> 
> On 30.10.25 04:06, 'Liu Yi' via isar-users wrote:
> > This change relocates the assignment for the preferred providers of
> > the bootstrap-host and bootstrap-target to occur before including
> > local.conf, ensuring that these two variables in local.conf can be
> > overwritten by the end users.
> >
> > Signed-off-by: Liu Yi <liuyi@siemens.com>
> > ---
> >  meta/conf/bitbake.conf | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index
> > 5ab8ced7..a06ef90e 100644
> > --- a/meta/conf/bitbake.conf
> > +++ b/meta/conf/bitbake.conf
> > @@ -210,6 +210,9 @@ TASK_USE_NETWORK = "1"
> >  TASK_USE_SUDO = "1"
> >  TASK_USE_NETWORK_AND_SUDO = "1"
> >
> > +PREFERRED_PROVIDER_bootstrap-host ??= "isar-mmdebstrap-host"
> > +PREFERRED_PROVIDER_bootstrap-target ??= "isar-mmdebstrap-target"
> > +
> >  include conf/local.conf
> >  include conf/multiconfig/${BB_CURRENT_MC}.conf
> >  include conf/machine/${MACHINE}.conf
> > @@ -217,5 +220,3 @@ include conf/distro/${DISTRO}.conf
> >
> >  PATCHRESOLVE ?= "noop"
> >
> > -PREFERRED_PROVIDER_bootstrap-host ??= "isar-mmdebstrap-host"
> > -PREFERRED_PROVIDER_bootstrap-target ??= "isar-mmdebstrap-target"
> 
> Looks good.
> 
> I suppose that this comes from some out-of-tree experiments with a non-
> Debian, non-Raspberry and non-Ubuntu OS? ;)
> 
> Jan
> 
> --
> Siemens AG, Foundational Technologies
> Linux Expert Center

You guessed it.  

This comes from the experiment of building openKylinOS via ISAR. 

Somehow the build process got failed in the task do_bootstrap due to uninstalling of libc6,  
if I chose the mmdebstrap as the preferred one.

So, I tried to switch to debootstrap in local.conf or in local-conf-head from kas yaml,  
then found it always be overwritten by the value from bitbake.conf.

Best Regards,
Liu Yi 

-- 
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/AS2PR10MB692752E80892472B234F4B43BFF8A%40AS2PR10MB6927.EURPRD10.PROD.OUTLOOK.COM.

  reply	other threads:[~2025-10-31  2:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-30  3:06 'Liu Yi' via isar-users
2025-10-30 11:29 ` 'Jan Kiszka' via isar-users
2025-10-31  2:53   ` 'Liu, Yi' via isar-users [this message]
2025-10-31  3:13     ` 'MOESSBAUER, Felix' via isar-users
2025-10-31 13:40       ` 'Liu, Yi' via isar-users

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=AS2PR10MB692752E80892472B234F4B43BFF8A@AS2PR10MB6927.EURPRD10.PROD.OUTLOOK.COM \
    --to=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    --cc=liuyi@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