git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1047e75
)
mocksetup: /unsafe+/hdd -> /quad
author
root
<root@host1.jankratochvil.net>
Sat, 23 Jan 2016 18:57:35 +0000
(19:57 +0100)
committer
root
<root@host1.jankratochvil.net>
Sat, 23 Jan 2016 18:57:35 +0000
(19:57 +0100)
bin/mocksetup
patch
|
blob
|
history
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