git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mocksetup: /unsafe+/hdd -> /quad
[nethome.git]
/
bin
/
mocksetup
diff --git
a/bin/mocksetup
b/bin/mocksetup
index
f972aab
..
4db3250
100755
(executable)
--- a/
bin/mocksetup
+++ b/
bin/mocksetup
@@
-154,7
+154,7
@@
for r in $l;do
ln -s /proc/self/fd $rpath/dev/fd
fi
ln -s /proc/self/fd $rpath/dev/fd
fi
- # Must be before umount of /
hd
d
+ # Must be before umount of /
qua
d
c="umount $rpath/var/cache/yum"
if $c 2>&1|grep -v ': not \(mounted\|found\)$';then
echo $c
c="umount $rpath/var/cache/yum"
if $c 2>&1|grep -v ': not \(mounted\|found\)$';then
echo $c
@@
-169,8
+169,8
@@
for r in $l;do
echo $c; $c
fi
echo $c; $c
fi
- mkdir -p $rpath/
unsafe $rpath/hd
d
- for dir in /home /usr/local/bin /proc /sys /root /
unsafe /hd
d;do
+ mkdir -p $rpath/
qua
d
+ for dir in /home /usr/local/bin /proc /sys /root /
qua
d;do
c="umount $rpath$dir"
if $c 2>&1|grep -v ': not \(mounted\|found\)$';then
echo $c
c="umount $rpath$dir"
if $c 2>&1|grep -v ': not \(mounted\|found\)$';then
echo $c