Remove bootstrap support

15 views
Skip to first unread message

Clara Kowalsky

unread,
Nov 5, 2025, 8:11:24 AM (5 days ago) Nov 5
to isar-...@googlegroups.com, i...@ilbers.de, Kiszka, Jan (T CED)
Hi,

I noticed that with kas 5.0 debian-trixie and using own keys in
isar-bootstrap, one runs into the issue that apt-key is deprecated with
trixie.

With:
+PREFERRED_PROVIDER_bootstrap-host ??= "isar-bootstrap-host"
+PREFERRED_PROVIDER_bootstrap-target ??= "isar-bootstrap-target"
& setting e.g., HOST_DISTRO_BOOTSTRAP_KEYS
for the isar-bootstrap-host target, the do_generate_keyrings task
returns an error:
sudo: apt-key: command not found

The isar testsuite is not covering isar-bootstrap.

The question is, is the support of bootstrap even needed nowadays or can
it be removed from isar?

Best regards,
Clara Kowalsky

MOESSBAUER, Felix

unread,
Nov 6, 2025, 11:01:25 AM (4 days ago) Nov 6
to isar-...@googlegroups.com, i...@ilbers.de, Kowalsky, Clara, Kiszka, Jan
On Wed, 2025-11-05 at 14:11 +0100, 'Clara Kowalsky' via isar-users
wrote:
> Hi,
>
> I noticed that with kas 5.0 debian-trixie and using own keys in
> isar-bootstrap, one runs into the issue that apt-key is deprecated with
> trixie.
>
> With:
> +PREFERRED_PROVIDER_bootstrap-host ??= "isar-bootstrap-host"
> +PREFERRED_PROVIDER_bootstrap-target ??= "isar-bootstrap-target"
> & setting e.g., HOST_DISTRO_BOOTSTRAP_KEYS
> for the isar-bootstrap-host target, the do_generate_keyrings task
> returns an error:
> sudo: apt-key: command not found

That's a bug...

>
> The isar testsuite is not covering isar-bootstrap.
>
> The question is, is the support of bootstrap even needed nowadays or can
> it be removed from isar?

I also expected that we can sunset the old bootstrap implementation,
but apparently this implementation just got a patch so that it can be
used for building openKylinOS via ISAR [1]. Looks like we still have
users on it.

[1] "bitbake: Move the preferred bootstrap assignment before including
local.conf"

Felix

>
> Best regards,
> Clara Kowalsky
>
> --
> 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+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/isar-users/c02345cd-55c0-43c8-b4b8-b3ac67f3c1ce%40siemens.com.

--
Siemens AG
Linux Expert Center
Friedrich-Ludwig-Bauer-Str. 3
85748 Garching, Germany

Jan Kiszka

unread,
Nov 6, 2025, 11:46:35 AM (4 days ago) Nov 6
to Moessbauer, Felix (FT RPD CED OES-DE), isar-...@googlegroups.com, i...@ilbers.de, Kowalsky, Clara (FT RPD CED OES-DE)
On 06.11.25 17:01, Moessbauer, Felix (FT RPD CED OES-DE) wrote:
> On Wed, 2025-11-05 at 14:11 +0100, 'Clara Kowalsky' via isar-users
> wrote:
>> Hi,
>>
>> I noticed that with kas 5.0 debian-trixie and using own keys in
>> isar-bootstrap, one runs into the issue that apt-key is deprecated with
>> trixie.
>>
>> With:
>> +PREFERRED_PROVIDER_bootstrap-host ??= "isar-bootstrap-host"
>> +PREFERRED_PROVIDER_bootstrap-target ??= "isar-bootstrap-target"
>> & setting e.g., HOST_DISTRO_BOOTSTRAP_KEYS
>> for the isar-bootstrap-host target, the do_generate_keyrings task
>> returns an error:
>> sudo: apt-key: command not found
>
> That's a bug...
>
>>
>> The isar testsuite is not covering isar-bootstrap.
>>
>> The question is, is the support of bootstrap even needed nowadays or can
>> it be removed from isar?
>
> I also expected that we can sunset the old bootstrap implementation,
> but apparently this implementation just got a patch so that it can be
> used for building openKylinOS via ISAR [1]. Looks like we still have
> users on it.
>
> [1] "bitbake: Move the preferred bootstrap assignment before including
> local.conf"
>

Before blocking the removal of this untested legacy code due to some
not-yet-upstream-proposed extension, I would like to first of all see
that extension proposed and secondly get explained why openKylinOS does
not work with mmdebstrap. Or does it bring its own bootstrap?

Jan

--
Siemens AG, Foundational Technologies
Linux Expert Center

Jan Kiszka

unread,
2:39 AM (2 hours ago) 2:39 AM
to Moessbauer, Felix (FT RPD CED OES-DE), isar-...@googlegroups.com, i...@ilbers.de, Kowalsky, Clara (FT RPD CED OES-DE), Liu Yi
Ping - specifically to our openKylinOS expect. ;)

There are only two options:
A) fix the isar-bootstrap issue Clara found AND re-add isar-bootstrap
to some tests
B) drop isar-bootstrap, maybe only leaving bootstrap-host/target for
now so that downstream can still override where needed

Leaving things as they are or only doing half of option A) are no
alternatives.
Reply all
Reply to author
Forward
0 new messages