projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48aff54
)
run umount multiple times in chroot-script
author
Michael Prokop
<mika@grml.org>
Fri, 3 Nov 2006 10:26:55 +0000
(11:26 +0100)
committer
Michael Prokop
<mika@grml.org>
Fri, 3 Nov 2006 10:26:55 +0000
(11:26 +0100)
chroot-script
patch
|
blob
|
history
diff --git
a/chroot-script
b/chroot-script
index
581e684
..
d6166dc
100644
(file)
--- a/
chroot-script
+++ b/
chroot-script
@@
-4,7
+4,7
@@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Fre Nov 03 11:
17:14
CET 2006 [mika]
+# Latest change: Fre Nov 03 11:
26:43
CET 2006 [mika]
################################################################################
set -e
################################################################################
set -e
@@
-145,7
+145,10
@@
image=/boot/vmlinuz-2.6.17-grml
EOF
fi
EOF
fi
-# unmount all filesystems in chroot
+# unmount all filesystems in chroot, make sure nothing is left...
+umount -a
+umount /proc
+umount /proc
umount -a
# finally exit the chroot
umount -a
# finally exit the chroot