Leave /etc/os-release in the initrd (#956241)
systemd needs /etc/os-release, otherwise switch-root will fail.
This commit is contained in:
parent
5471e6d806
commit
4664095e45
@ -27,7 +27,8 @@ removefrom dracut --allbut /usr/lib/dracut/modules.d/30convertfs/convertfs.sh \
|
|||||||
## we don't run SELinux (not in enforcing, anyway)
|
## we don't run SELinux (not in enforcing, anyway)
|
||||||
removepkg checkpolicy selinux-policy libselinux-utils
|
removepkg checkpolicy selinux-policy libselinux-utils
|
||||||
## anaconda has its own repo files
|
## anaconda has its own repo files
|
||||||
removepkg fedora-release fedora-release-rawhide
|
removefrom fedora-release --allbut /etc/os-release
|
||||||
|
removepkg fedora-release-rawhide
|
||||||
## no user accounts = no account management
|
## no user accounts = no account management
|
||||||
removepkg usermode usermode-gtk passwd shadow-utils
|
removepkg usermode usermode-gtk passwd shadow-utils
|
||||||
## no services to turn on/off (keep the /etc/init.d link though)
|
## no services to turn on/off (keep the /etc/init.d link though)
|
||||||
|
Loading…
Reference in New Issue
Block a user