From 4defe98a0d326fe6bbc5c0524debcab2fae68d2f Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 13 Dec 2019 10:46:59 -0800 Subject: [PATCH] Remove unneeded scap-security-guide files This removes all of scap-security-guide except for ssg-rhel7-ds.xml Related: rhbz#1779659 --- share/runtime-cleanup.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 650d4454..0d67b767 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -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 {} \;