summaryrefslogtreecommitdiff
path: root/run-bootstrap-in-chroot
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-14 18:44:11 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-14 18:44:11 +0000
commitf898121ceac5adb05702259410998d9d5e32367d (patch)
treed879db0a12944efcdec78aa6d7b155580e5b08e6 /run-bootstrap-in-chroot
parent3d57e79f596bc82595b8c667d384ff72a5ec76f5 (diff)
downloadmorph-f898121ceac5adb05702259410998d9d5e32367d.tar.gz
When unmounting proc, sys, also unmount them from the inner chroot
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-xrun-bootstrap-in-chroot2
1 files changed, 2 insertions, 0 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot
index 9cd55604..9864337d 100755
--- a/run-bootstrap-in-chroot
+++ b/run-bootstrap-in-chroot
@@ -6,6 +6,8 @@ unmount_virtual()
{
umount "$1/proc" || true
umount "$1/sys" || true
+ umount "$1/tree/proc" || true
+ umount "$1/tree/sys" || true
}
export LC_ALL=C