From 1be27a240b83fae899474491082e0d4ad76953d8 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 11 May 2022 13:54:24 +0200 Subject: [PATCH] Install util-linux explicitly on Fedora 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 66a87303c..3a6e9afaa 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -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") -- 2.47.2