Re: Building a trixie image on a bookworm host / using sysvinit
Hello again, Roland,
Am 28.04.25 um 15:26 schrieb Roland Clobus:
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.
Adding this allows me to complete the build (haven't tested if it
actually boots, but the fact that it doesn't already error out during
the build stage makes me hope it will). Thank you!
However, during the build, the following message now appears:
W: Failure while installing base packages. This will be re-attempted up
to five times.
W: See [path_to_my_builddir]/chroot/debootstrap/debootstrap.log for
details (possibly the package
/var/cache/apt/archives/initscripts_3.14-4_all.deb is at fault)
Once it re-attempts things once, it reports successful installation of
the base system.
The log file it suggests checking for details doesn't exist, though.
Maybe it gets deleted upon successful installation?
Kind Regards,
Stefan Baur
Reply to: