summaryrefslogtreecommitdiffstats
path: root/rescue/make_rescue_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-06-16 12:22:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-06-16 12:22:52 +0000
commitfdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3 (patch)
tree25a25ff0a31430b0ee06ddcd3d1e1ad680168448 /rescue/make_rescue_img
parentad824ff22cc3f0e1c03cd37fd7f791312a1468d7 (diff)
downloaddrakx-fdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3.tar
drakx-fdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3.tar.gz
drakx-fdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3.tar.bz2
drakx-fdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3.tar.xz
drakx-fdea217b2ca6af2ba7d3e1dd20ae834de21d5ce3.zip
no_comment
Diffstat (limited to 'rescue/make_rescue_img')
-rwxr-xr-xrescue/make_rescue_img4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img
index 3de1d5ab9..ffe078992 100755
--- a/rescue/make_rescue_img
+++ b/rescue/make_rescue_img
@@ -36,7 +36,7 @@ _ "$sudo rm -rf $tmp" if -e $tmp;
_ "mkdir $tmp";
_ 'find . -name "*~" | xargs rm -f';
_ "cp -a tree/* $tmp";
-_ "find $tmp -name CVS | xargs rm -rf";
+_ "find $tmp -name 'CVS*' | xargs rm -rf";
_ "cd $tmp; mkdir -p lib tmp modules proc";
@@ -68,7 +68,7 @@ exit 0 if $ARGV[0];
$size = `du -s $tmp | cut -f1` + 2048; #- add 2MB of free space
commands::mkdir_("-p", $mnt) if !-e $mnt;
-__ "$sudo umount $rescue";
+__ "$sudo umount $rescue 2>/dev/null";
_ "dd if=/dev/zero of=$rescue bs=1k count=$size";
_ "$mke2fs $rescue";