From 8abdb7402b92fd83a5c70e58801e25408b03b677 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Tue, 1 Apr 2014 00:11:23 +0400 Subject: [PATCH] mediacheck: drop firmware/udev as well These aren't needed in this subprofile but can sneak in via e.g. SYSTEM_PACKAGES. --- .../mediacheck/mediacheck/image-scripts.d/99-cleanup-all | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features.in/mediacheck/mediacheck/image-scripts.d/99-cleanup-all b/features.in/mediacheck/mediacheck/image-scripts.d/99-cleanup-all index bfaab3b4..181de59a 100755 --- a/features.in/mediacheck/mediacheck/image-scripts.d/99-cleanup-all +++ b/features.in/mediacheck/mediacheck/image-scripts.d/99-cleanup-all @@ -5,4 +5,5 @@ rpm -e --nodeps apt libapt rpm librpmbuild librpm 2>/dev/null ||: rm -rf /var/lib/apt /var/cache/apt /var/lib/rpm rm -rf /lib/modules rm -rf /usr/share -rm -rf /usr/lib*/{locale,perl*,python*} +rm -rf /usr/lib*/{locale,perl*,python*,systemd,udev} +rm -rf /{etc,lib}/{firmware,udev}