From c62feb3ba92a0c7f0ba6b61df7c358bedf411079 Mon Sep 17 00:00:00 2001 From: v-fox Date: Sat, 28 Feb 2015 23:48:14 +0500 Subject: [PATCH] workaround for kiwi's dangerous sloppiness in unmounting chroot bind mounts --- create_appliance.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/create_appliance.sh b/create_appliance.sh index dc2bfd08..3fba628c 100755 --- a/create_appliance.sh +++ b/create_appliance.sh @@ -77,6 +77,10 @@ for i in {http,https,ftp,no}_proxy {HTTP,HTTPS,FTP,NO}_PROXY; do done # Cleaning up #1. +echo "** Forcefully unmounting possible chroot leftovers..." +umount -v -f -l ${dst}/build/image-root/sys/kernel/security +umount -v -f -l ${dst}/build/image-root/sys + echo "** Cleaning up auto-generated files..." IFS=$'\n' while read i; do