diff --git a/linux/aux-tools/prepare-volatile-img.sh b/linux/aux-tools/prepare-volatile-img.sh index 3b293eca..25d9a600 100755 --- a/linux/aux-tools/prepare-volatile-img.sh +++ b/linux/aux-tools/prepare-volatile-img.sh @@ -28,7 +28,7 @@ sfdisk --no-reread -u M "$FILENAME" > /dev/null 2> /dev/null < /dev/null udevadm settle +mkswap -f ${loopdev}p1 > /dev/null losetup -d ${loopdev} || : chown --reference `dirname "$FILENAME"` "$FILENAME"