umount -n $BUILD_ROOT/proc 2> /dev/null || true
umount -n $BUILD_ROOT/dev/pts 2> /dev/null || true
umount -n $BUILD_ROOT/mnt 2> /dev/null || true
umount -n $BUILD_ROOT/proc 2> /dev/null || true
umount -n $BUILD_ROOT/dev/pts 2> /dev/null || true
umount -n $BUILD_ROOT/mnt 2> /dev/null || true
if [ "$kvm_virtio" = 1 ]; then
qemu_disks=(-drive file="$VM_IMAGE",if=virtio -hda /dev/null)
if [ -n "$VM_SWAP" ]; then
if [ "$kvm_virtio" = 1 ]; then
qemu_disks=(-drive file="$VM_IMAGE",if=virtio -hda /dev/null)
if [ -n "$VM_SWAP" ]; then