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.
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")