Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=4a7e1c815e605c1c6e920df0071d0ac21b6486f4

commit 4a7e1c815e605c1c6e920df0071d0ac21b6486f4
Author: James Buren <r...@frugalware.org>
Date:   Mon Dec 12 17:05:41 2011 -0600

create-rootfs: fix deletion of headers

diff --git a/bin/create-rootfs b/bin/create-rootfs
index fa50fff..781ebdc 100755
--- a/bin/create-rootfs
+++ b/bin/create-rootfs
@@ -155,7 +155,7 @@ rm -rf $CHROOTDIR/usr/share/man/*

## Remove Static libraries and header
echo "Deleting Static libraries and header which are not needed in Live mode..."
-find $CHROOTDIR/ -name "*.h" -or -name "*.a" -exec rm -f '{}' \;
+find $CHROOTDIR/ -name "*.[ha]" -delete

## Remove /boot contents, but backup kernel and initrd
echo "Removing boot files which are not needed in Live mode..."
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to