From: Daan De Meyer Date: Wed, 11 May 2022 11:54:24 +0000 (+0200) Subject: Install util-linux explicitly on Fedora X-Git-Tag: v13~40^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F961%2Fhead;p=thirdparty%2Fmkosi.git 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. --- 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")