From 4664095e45fae1349b3bfbacd2134e3bd74cac57 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 26 Apr 2013 08:56:20 -0700 Subject: [PATCH] Leave /etc/os-release in the initrd (#956241) systemd needs /etc/os-release, otherwise switch-root will fail. --- 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 9f2ed1c3..006050ba 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)