Leave /etc/os-release in the initrd (#956241)

systemd needs /etc/os-release, otherwise switch-root will fail.
This commit is contained in:
Brian C. Lane 2013-04-26 08:56:20 -07:00
parent 5471e6d806
commit 4664095e45
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ removefrom dracut --allbut /usr/lib/dracut/modules.d/30convertfs/convertfs.sh \
## we don't run SELinux (not in enforcing, anyway)
removepkg checkpolicy selinux-policy libselinux-utils
## 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
removepkg usermode usermode-gtk passwd shadow-utils
## no services to turn on/off (keep the /etc/init.d link though)