From a55840e5513ca981a2b01de4e7eda375713336d2 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 11 Apr 2001 01:03:18 +0000 Subject: to lighten mdkinst_stage2: - completly remove po's (will be getFile'd) - remove LVM progs, resize_reiserfs, big fonts (will be getFile'd) --- tools/make_mdkinst_stage2 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/make_mdkinst_stage2 b/tools/make_mdkinst_stage2 index 03ee227e9..6534b7ee6 100755 --- a/tools/make_mdkinst_stage2 +++ b/tools/make_mdkinst_stage2 @@ -39,7 +39,10 @@ $SUDO cp -a $DEST/* $STAGE2TMP # be sure to keep the biggest server rm -f $STAGE2TMP/usr/X11R6/bin/XF86_{VGA16,3DLabs,TGA,S3} rm -f `ls --sort=size $STAGE2TMP/lib/modules.cz-* | perl -ne 'print if $i++'` -rm -f $STAGE2TMP/$REP4PMS/po/DrakX.pot +rm -f $STAGE2TMP/usr/bin/{pv*,vg*,lv*} $STAGE2TMP/lib/liblvm* +rm -f $STAGE2TMP/usr/bin/{resize_reiserfs} +rm -f $STAGE2TMP/usr/X11R6/lib/X11/fonts/{taipei16,gb16fs,k14,baekmuk_gulim_h_14,cu12}.pcf.gz +rm -rf $STAGE2TMP/$REP4PMS/po #for i in /usr/share/locale; do \ # name=`basename $i` ; \ # (cd $STAGE2TMP/$i ; find * | cpio -o 2>/dev/null | bzip2 > ../$name.cpio.bz2 ; cd .. ; rm -rf $name) \ @@ -49,7 +52,7 @@ for i in /usr/share/locale; do (cd $STAGE2TMP/$i ; find * | $BUILD_ARCHIVE -b9s ../$name.cz2 4000000) rm -rf $STAGE2TMP/$i done -for i in /usr/share/keymaps /usr/share/xmodmap $REP4PMS/po; do +for i in /usr/share/keymaps /usr/share/xmodmap; do name=`basename $i` (cd $STAGE2TMP/$i ; ls * | $BUILD_ARCHIVE -b9s ../$name.cz2 400000) rm -rf $STAGE2TMP/$i -- cgit v1.2.1