diff options
author | Richard Jones <rjones@redhat.com> | 2009-05-12 15:04:43 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-05-12 15:04:43 +0100 |
commit | 8a7a6180a865e6895fa531865c5016d793271dfe (patch) | |
tree | 5e222161f1f89ee26070af2e1d7c25f9766cc9be /make-initramfs.sh.in | |
parent | 03ff42cb2e088b00c15023d456058cbcdc5d3c81 (diff) | |
download | libguestfs-8a7a6180a865e6895fa531865c5016d793271dfe.tar.gz libguestfs-8a7a6180a865e6895fa531865c5016d793271dfe.tar.xz libguestfs-8a7a6180a865e6895fa531865c5016d793271dfe.zip |
Remove Perl from appliance - fixes large appliance problem on Rawhide builds.
Diffstat (limited to 'make-initramfs.sh.in')
-rwxr-xr-x | make-initramfs.sh.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/make-initramfs.sh.in b/make-initramfs.sh.in index 495ecc09..b8faa3b8 100755 --- a/make-initramfs.sh.in +++ b/make-initramfs.sh.in @@ -65,6 +65,12 @@ rm -f $koutput (cd initramfs && find -name '*python*' -print0) | xargs -0 @FEBOOTSTRAP_RUN@ initramfs -- rm -rf +# In Fedora >= 11, it pulls in all of Perl from somewhere. Nuke from orbit. +@FEBOOTSTRAP_RUN@ initramfs -- rm -rf /usr/lib/perl5 /usr/lib64/perl5 + +# Anaconda? JPEG images? +@FEBOOTSTRAP_RUN@ initramfs -- rm -rf /usr/lib/anaconda-runtime + # Modules take up nearly half of the image. It's a rough guess that # we don't need many drivers (which take up most of the space). (cd initramfs && find lib/modules/*/kernel \ |