Skip to content

Commit

Permalink
workaround for kiwi's dangerous sloppiness in unmounting chroot bind …
Browse files Browse the repository at this point in the history
…mounts
  • Loading branch information
v-fox committed Feb 28, 2015
1 parent 106909b commit c62feb3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions create_appliance.sh
Expand Up @@ -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
Expand Down

0 comments on commit c62feb3

Please sign in to comment.