On Thu, 2013-04-25 at 10:59 +0200, Dan Horák wrote:
systemd requires /etc/os-release to be present to switch root fs from
initrd
to the real root.
fixes rhbz#956241
---
share/runtime-cleanup.tmpl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl
index 9f2ed1c..006050b 100644
--- a/share/runtime-cleanup.tmpl
+++ b/share/runtime-cleanup.tmpl
@@ -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)
ACK, nice catch!
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic