From: Richard Jones Date: Mon, 8 Mar 2010 16:04:09 +0000 (+0000) Subject: Remove plymouth libraries from the appliance. X-Git-Tag: 1.0.86~10 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=aca024e9766268e6a09a8aeedee562d10910ca6d Remove plymouth libraries from the appliance. --- diff --git a/appliance/make.sh.in b/appliance/make.sh.in index 515df34..9aa1e68 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.