Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=699a8f3a0d9485259118e99b902f8492cbfcfc72
commit 699a8f3a0d9485259118e99b902f8492cbfcfc72
Author: Janny <[EMAIL PROTECTED]>
Date: Thu Mar 6 21:54:11 2008 +0100
fwlive-strip
* add strip all files to build
* add remove all README, COPYING, AUTHORS files
diff --git a/live-base/build b/live-base/build
index ab7e5f6..75ce8c9 100644
--- a/live-base/build
+++ b/live-base/build
@@ -58,6 +58,19 @@ done
find $ROOT/usr/share/i18n/locales -maxdepth 1 -type f $lo -exec rm -fr {} \;
find $ROOT/usr/share/locale -maxdepth 1 -type d $lo -exec rm -fr {} \;
+echo "Deleting docs files which are not needed in Live mode.."
+
+find $ROOT/usr/share/doc ! -name "README*" ! -name "COPYING*" ! -name
"AUTHORS*" -exec rm -rf {} \;
+
+# strip usr/{bin,sbin} bin and sbin
+
+echo "Stripping all files in /usr/{bin,sbin} /bin , /sbin .."
+
+strip $ROOT/usr/bin/* -s 2>/dev/null
+strip $ROOT/usr/sbin/* -s 2>/dev/null
+strip $ROOT/bin/* -s 2>/dev/null
+strip $ROOT/sbin/* -s 2>/dev/null
+
echo "Creating compressed images..."
for dir in $MKMOD; do
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git