summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-07-19 10:19:18 +0200
committerDaniel Baumann <daniel@debian.org>2011-07-19 10:19:18 +0200
commitb22984f698834f1b76af599075e145aab75bdf9a (patch)
tree0a89547722766614674cba2b08becf01d8f13b87 /scripts
parent57ab08226514e2270e423cce77accaff565d5a64 (diff)
downloadvyos-live-build-b22984f698834f1b76af599075e145aab75bdf9a.tar.gz
vyos-live-build-b22984f698834f1b76af599075e145aab75bdf9a.zip
Also unmounting /run in lb_clean eventhough it's not really needed anyway but let's be on the caucious side (Closes: #633052).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_clean1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/lb_clean b/scripts/build/lb_clean
index 23f2f7fbd..666ffc966 100755
--- a/scripts/build/lb_clean
+++ b/scripts/build/lb_clean
@@ -71,6 +71,7 @@ do
--chroot)
Echo_message "Cleaning chroot"
+ ${LB_ROOT_COMMAND} umount -f chroot/run > /dev/null 2>&1 || true
${LB_ROOT_COMMAND} umount -f chroot/sys > /dev/null 2>&1 || true
${LB_ROOT_COMMAND} umount -f chroot/proc/sys/fs/binfmt_misc > /dev/null 2>&1 || true
${LB_ROOT_COMMAND} umount -f chroot/proc > /dev/null 2>&1 || true