summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xappliance/make.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/appliance/make.sh.in b/appliance/make.sh.in
index 515df346..9aa1e68c 100755
--- a/appliance/make.sh.in
+++ b/appliance/make.sh.in
@@ -52,9 +52,11 @@ if [ "@DIST@" = "REDHAT" ]; then
# Nuke some stuff. The kernel pulls mkinitrd and plymouth which pulls in
# all of Python. Sheez.
+ (cd initramfs && find -name '*python*' -print0) |
+ xargs -0 @FEBOOTSTRAP_RUN@ initramfs -- rm -rf
(cd initramfs && find -name '*plymouth*' -print0) |
xargs -0 @FEBOOTSTRAP_RUN@ initramfs -- rm -rf
- (cd initramfs && find -name '*python*' -print0) |
+ (cd initramfs && find -name 'libply-*' -print0) |
xargs -0 @FEBOOTSTRAP_RUN@ initramfs -- rm -rf
# In Fedora >= 11, it pulls in all of Perl from somewhere. Nuke from orbit.