[rhel7-branch 2/4] Don't remove usr/lib/rpm/platform/ (#1116450)

bcl installerbot-noreply at redhat.com
Thu Jun 4 20:54:28 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

This appears to cause the rpm-plugin-selinux to fail and some of the
selinux lebels aren't applied correctly.

(cherry picked from commit e1741763a9626ffe4310b959c4b048f920759d6c)
---
 share/runtime-cleanup.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl
index 8fa6c1d..b9d158e 100644
--- a/share/runtime-cleanup.tmpl
+++ b/share/runtime-cleanup.tmpl
@@ -310,7 +310,7 @@ removefrom python-ethtool /usr/sbin/*
 removefrom python-meh /usr/share/locale/*
 removefrom readline /usr/${libdir}/*
 removefrom libreport /usr/bin/* /usr/share/locale/*
-removefrom rpm /usr/bin/* /usr/lib/rpm/platform/* /usr/share/locale/*
+removefrom rpm /usr/bin/* /usr/share/locale/*
 removefrom rsync /etc/*
 removefrom sed /usr/share/locale/*
 removefrom smartmontools /etc/* /usr/sbin/smartd


-- 
To view this commit on github, visit https://github.com/rhinstaller/lorax/commit/726b771daca2849314eb0b83edd6d45de83f30d4


More information about the anaconda-patches mailing list