run umount multiple times in chroot-script
authorMichael Prokop <mika@grml.org>
Fri, 3 Nov 2006 10:26:55 +0000 (11:26 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 3 Nov 2006 10:26:55 +0000 (11:26 +0100)
chroot-script

index 581e684..d6166dc 100644 (file)
@@ -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