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

commit 15e7deb498669cb816fca6a99286913e9b9c8ea0
Author: Baste <ba...@frugalware.org>
Date:   Mon Dec 12 14:45:24 2011 +0100

* Remove Static libraries and header

diff --git a/bin/create-rootfs b/bin/create-rootfs
index cb7994d..103875c 100755
--- a/bin/create-rootfs
+++ b/bin/create-rootfs
@@ -152,6 +152,12 @@ echo "Deleting docs files which are not needed in Live 
mode..."
rm -rf $CHROOTDIR/usr/share/doc/*
rm -rf $CHROOTDIR/usr/share/gtk-doc/*

+## Remove Static libraries and header
+echo "Deleting Static libraries and header which are not needed in Live 
mode..."
+rm -rf $CHROOTDIR/usr/include/*
+find $CHROOTDIR/ -name *.a -exec rm -f {} \;
+read -p ""
+
# Umount chroot
echo "Attempting to umount chroot directories..."
umount $CHROOTDIR/proc >/dev/null
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to