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

commit 6e096fabfe08615a88a9e018b725f4c6f741aea4
Author: Baste <ba...@frugalware.org>
Date:   Thu Dec 15 17:13:27 2011 +0100

* fix bug ( for appsgroup min)

diff --git a/bin/create-rootfs b/bin/create-rootfs
index af6f8ac..3ad5128 100755
--- a/bin/create-rootfs
+++ b/bin/create-rootfs
@@ -159,8 +159,10 @@ EOF
fi

## For fwife
-mkdir -p $CHROOTDIR/home/fwlive/Desktop/
-cp $CHROOTDIR/usr/share/applications/fwife.desktop 
$CHROOTDIR/home/fwlive/Desktop/
+if [ $APPSGROUP != "MIN" ]; then
+       mkdir -p $CHROOTDIR/home/fwlive/Desktop/
+       cp $CHROOTDIR/usr/share/applications/fwife.desktop 
$CHROOTDIR/home/fwlive/Desktop/
+fi

## Remove Locales
if [ -z $LOCALE ]; then
@@ -188,8 +190,9 @@ 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
-find $CHROOTDIR/ -path '$CHROOTDIR/usr/include*' -prune -o -name "*.[ha]" 
-exec rm -rf {} \;
-
+read -p "TOTO"
+find $CHROOTDIR/ -path '$CHROOTDIR/usr/include/python2.7/*' -prune -o -name 
"*.[ha]" -exec rm -f {} \;
+read -p "TEST"
## 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