# Debootstrap is not smart enough to deal correctly with alternative dependencies
# Installing libpam-systemd via debootstrap results in systemd-shim being installed
# Therefore, prefer to install via apt from inside the container
- extra_packages = ['dbus', 'libpam-systemd']
+ extra_packages = ['dbus', 'libpam-systemd', 'binutils']
# Also install extra packages via the secondary APT run, because it is smarter and
# can deal better with any conflicts
if do_run_build_script:
return
- if args.distribution not in (Distribution.fedora, Distribution.mageia):
+ if args.distribution not in (Distribution.fedora, Distribution.mageia, Distribution.ubuntu, Distribution.debian):
return
with complete_step("Generating combined kernel + initrd boot file"):
"-v",
"--no-hostonly",
"--uefi",
+ "--uefi-stub", "/usr/lib/systemd/boot/efi/linuxx64.efi.stub",
"--kver", kver.name,
"--kernel-cmdline", cmdline]