From ba3555410e02ca0d2d4d1bd8dfc60fc7aa58b2de Mon Sep 17 00:00:00 2001 From: fernandolobato Date: Wed, 1 Apr 2020 17:41:32 -0700 Subject: [PATCH] ony add this package for bootable images --- mkosi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkosi b/mkosi index eb9e25515..8d77601db 100755 --- a/mkosi +++ b/mkosi @@ -1806,7 +1806,7 @@ def install_debian_or_ubuntu(args: CommandLineArguments, # 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', 'binutils', 'usrmerge'] + 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 @@ -1821,7 +1821,7 @@ def install_debian_or_ubuntu(args: CommandLineArguments, f.write("hostonly=no") if args.bootable: - extra_packages += ["dracut"] + extra_packages += ["dracut", "usrmerge"] if args.distribution == Distribution.ubuntu: extra_packages += ["linux-generic"] else: -- 2.47.2