[lorax] keep /etc/os-release in the install image
Dan HorĂ¡k
dan at danny.cz
Thu Apr 25 08:59:38 UTC 2013
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)
--
1.8.1.4
More information about the anaconda-patches
mailing list