Remove bootstrap support

35 views
Skip to first unread message

Clara Kowalsky

unread,
Nov 5, 2025, 8:11:24 AMNov 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 AMNov 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 AMNov 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,
Nov 10, 2025, 2:39:38 AMNov 10
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.

Liu, Yi

unread,
Nov 11, 2025, 3:03:39 AMNov 11
to Kiszka, Jan, MOESSBAUER, Felix, isar-...@googlegroups.com, i...@ilbers.de, Kowalsky, Clara
OpenKylinOS does support build its own rootfs through both debootstrap and mmdebstrap.
It just got failed when building via ISAR with mmdebstrap.

I am trying to figure out why it happens.

Dropping isar-bootstrap might affect building OpenkylinOS in the short term, but eventually it
will work with mmdebstrap.

Liu Yi

Clara Kowalsky

unread,
Nov 11, 2025, 10:27:55 AMNov 11
to Liu, Yi (FT RPD CED INW-CN), Kiszka, Jan (FT RPD CED), Moessbauer, Felix (FT RPD CED OES-DE), isar-...@googlegroups.com, i...@ilbers.de
This should not be a showstopper.>
>>
>> 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.
>>
>> Jan
>>
>> --
>> Siemens AG, Foundational Technologies
>> Linux Expert Center
So far, no one has come forward who absolutely needs isar-bootstrap.
With that, I would go with option B and send the patch to remove
isar-bootstrap support.

Best regards,
Clara

Reply all
Reply to author
Forward
0 new messages