Hello Stefan, On 28/04/2025 13:20, Stefan Baur wrote:
I wanted to see if my custom image works under trixie as well, so I changed all bookworm references to trixie and ran the lb config and lb build commands with my usual parameters.
The 'lb config' command line was helpful.By using chroot for nearly everything, it should be possible to build any image on any system, so building trixie on bookworm should work.
For trixie, you might want to reduce --archive-areas to 'main non-free-firmware' (removing non-free and contrib)
Since my custom image is rather small and serves a limited, dedicated purpose, I prefer to use sysvinit instead of systemd.That is why, amongst other things, lb config is called with --initsystem sysvinit (both for the bookworm and the trixie build). Bookworm builds just fine, trixie throws:
...[snip]... Until a patch is written, as a work-around you can add to 'lb config': --debootstrap-options="--include=live-config-sysvinit"The package 'systemd-sysv' gets installed already in the bootstrap phase, and prevents the sysv version from being installed. That is earlier than the moment the setting of '--initsystem' is activated.
Not all scenarios are tested regularly, and you found one :-) With kind regards, Roland Clobus
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature