Remove unneeded scap-security-guide files

This removes all of scap-security-guide except for ssg-rhel7-ds.xml

Related: rhbz#1779659
This commit is contained in:
Brian C. Lane 2019-12-13 10:46:59 -08:00
parent c8bb73d9a5
commit 4defe98a0d
1 changed files with 3 additions and 0 deletions

View File

@ -344,6 +344,9 @@ removefrom redhat-logos /usr/share/{plymouth,backgrounds}*
removefrom subscription-manager --allbut /etc/rhsm/* /usr/share/rhsm/* /var/log/rhsm/* \
/etc/yum/pluginconf.d/product-id.conf /usr/lib/yum-plugins/product-id.py
## OSCAP cleanups
removefrom scap-security-guide --allbut /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
## cleanup_python_files()
runcmd find ${root} -name "*.pyo" -type f -delete
runcmd find ${root} -name "*.pyc" -type f -exec ln -sf /dev/null {} \;