summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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