summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-21 14:54:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-21 14:54:28 +0000
commit6dde5c8b426c01b73c1c63f2a1e74a0af95264e1 (patch)
tree82a9077dee44316aa6cf0a018ec1f44ec83badef /tools
parentb75607f5a2a7f08a1cf710b45ed3c33f37635ae5 (diff)
downloaddrakx-backup-do-not-use-6dde5c8b426c01b73c1c63f2a1e74a0af95264e1.tar
drakx-backup-do-not-use-6dde5c8b426c01b73c1c63f2a1e74a0af95264e1.tar.gz
drakx-backup-do-not-use-6dde5c8b426c01b73c1c63f2a1e74a0af95264e1.tar.bz2
drakx-backup-do-not-use-6dde5c8b426c01b73c1c63f2a1e74a0af95264e1.tar.xz
drakx-backup-do-not-use-6dde5c8b426c01b73c1c63f2a1e74a0af95264e1.zip
LC_COLLATE and LC_CTYPE are getFile'd (cuz they are big, causing the .cz2 to be *big*)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make_mdkinst_stage23
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/make_mdkinst_stage2 b/tools/make_mdkinst_stage2
index 1d1270b87..8b75f001b 100755
--- a/tools/make_mdkinst_stage2
+++ b/tools/make_mdkinst_stage2
@@ -45,6 +45,8 @@ rm -f $STAGE2TMP/usr/X11R6/lib/X11/fonts/{taipei16,gb16fs,k14,baekmuk_gulim_h_14
rm -rf $STAGE2TMP/usr/share/locale_special
for i in /usr/share/locale; do
name=`basename $i`
+ # LC_COLLATE and LC_CTYPE are getFile'd (cuz they are big, causing the .cz2 to be *big*)
+ find $STAGE2TMP/$i -name LC_COLLATE -o -name LC_CTYPE | xargs rm
(cd $STAGE2TMP/$i ; find * | $BUILD_ARCHIVE -b9s ../$name.cz2 4000000)
rm -rf $STAGE2TMP/$i
done
@@ -62,6 +64,7 @@ dd if=/dev/zero of=$STAGE2 bs=1k count=$[ `du -s $STAGE2TMP | cut -f1` + 1024 +
$MKE2FS -N 1000 $STAGE2
$SUDO mount -t ext2 $STAGE2 $MNTPOINT -o loop
+rmdir $MNTPOINT/lost+found
$SUDO cp -a $STAGE2TMP/* $MNTPOINT
$SUDO rm -rf $STAGE2TMP