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

commit 47683c90379947532e8a70cd88107925702a1fed
Author: Baste <ba...@frugalware.org>
Date:   Thu Dec 15 21:47:32 2011 +0100

* Fix bug for python2.7

diff --git a/bin/create-rootfs b/bin/create-rootfs
index 3ad5128..6d91e71 100755
--- a/bin/create-rootfs
+++ b/bin/create-rootfs
@@ -190,9 +190,8 @@ echo "Deleting Static libraries and header which are not 
needed in Live mode..."
#rm -rf $CHROOTDIR/usr/include/*
find $CHROOTDIR/usr/include/* -maxdepth 0 ! -name "python2.7" -exec rm -r {} \;
#find $CHROOTDIR/ -name "*.[ha]" -delete
-read -p "TOTO"
-find $CHROOTDIR/ -path '$CHROOTDIR/usr/include/python2.7/*' -prune -o -name 
"*.[ha]" -exec rm -f {} \;
-read -p "TEST"
+find $CHROOTDIR/ -path $CHROOTDIR/usr/include/python2.7 -prune -o -name 
"*.[ha]" -exec rm -f {} \;
+
## Remove /boot contents, but backup kernel and initrd
echo "Removing boot files which are not needed in Live mode..."
cp -vf $CHROOTDIR/boot/vmlinuz $TREE/vmlinuz
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to