Echo that qemu-img convert is running

qemu-img convert can take a few minutes to complete, or far longer
on heavily loaded systems. Notify the user that the image is
undergoing conversion to save them just seeing END PROFILING.

Change-Id: I1ad61ce5ed011b721d48e2d12fb42ef4aa5cd1f6
This commit is contained in:
Steve Kowalik 2014-10-13 15:01:49 +11:00
parent 4b05499384
commit c6f3c1aae1

View File

@ -114,6 +114,7 @@ function compress_and_save_image () {
else else
EXTRA_OPTIONS="" EXTRA_OPTIONS=""
fi fi
echo "Converting image using qemu-img convert"
qemu-img convert ${COMPRESS_IMAGE:+-c} -f raw $TMP_IMAGE_PATH -O $IMAGE_TYPE $EXTRA_OPTIONS $1-new qemu-img convert ${COMPRESS_IMAGE:+-c} -f raw $TMP_IMAGE_PATH -O $IMAGE_TYPE $EXTRA_OPTIONS $1-new
rm $TMP_IMAGE_PATH rm $TMP_IMAGE_PATH