Debootstrap-ng fix for Trusty host

This commit is contained in:
zador-blood-stained 2016-01-10 18:55:02 +03:00
parent 25e0d272bb
commit 2cf437fd74

View File

@ -411,7 +411,10 @@ prepare_partitions()
display_alert "Unable to find free loop device" "err"
exit 1
fi
losetup -P $LOOP $DEST/cache/tmprootfs.raw
# NOTE: losetup -P option is not available in Trusty
losetup $LOOP $DEST/cache/tmprootfs.raw
partprobe $LOOP
# stage: create fs
if [[ $BOOTSIZE == 0 ]]; then