]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Install util-linux explicitly on Fedora 961/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 11 May 2022 11:54:24 +0000 (13:54 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 11 May 2022 11:54:24 +0000 (13:54 +0200)
In Fedora 36, by default only util-linux-core is pulled in which
is missing /bin/login which is required by /sbin/agetty to function
properly. Let's pull it in explicitly until the bug is resolved.

mkosi/__init__.py

index 66a87303c0e0d0b17b710afb3e0e94b4e74acae5..3a6e9afaa099e015522871dc0d16999d8dfc1715 100644 (file)
@@ -2299,7 +2299,7 @@ def install_fedora(args: MkosiArgs, root: Path, do_run_build_script: bool) -> No
     setup_dnf(args, root, repos)
 
     packages = {*args.packages}
-    add_packages(args, packages, "fedora-release", "systemd")
+    add_packages(args, packages, "fedora-release", "systemd", "util-linux")
 
     if fedora_release_cmp(args.release, "34") < 0:
         add_packages(args, packages, "glibc-minimal-langpack", conditional="glibc")