summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-11 01:03:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-11 01:03:18 +0000
commita55840e5513ca981a2b01de4e7eda375713336d2 (patch)
tree4c3dbc5ed90d2156d24873913c8fad78cfa274ff
parentfb94e65991297cc48ba2eaa1cb2f37846992df77 (diff)
downloaddrakx-backup-do-not-use-a55840e5513ca981a2b01de4e7eda375713336d2.tar
drakx-backup-do-not-use-a55840e5513ca981a2b01de4e7eda375713336d2.tar.gz
drakx-backup-do-not-use-a55840e5513ca981a2b01de4e7eda375713336d2.tar.bz2
drakx-backup-do-not-use-a55840e5513ca981a2b01de4e7eda375713336d2.tar.xz
drakx-backup-do-not-use-a55840e5513ca981a2b01de4e7eda375713336d2.zip
to lighten mdkinst_stage2:
- completly remove po's (will be getFile'd) - remove LVM progs, resize_reiserfs, big fonts (will be getFile'd)
-rwxr-xr-xtools/make_mdkinst_stage27
1 files 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