Merge "Correct order of parameters in call to qemu-img convert"

This commit is contained in:
Jenkins 2016-07-26 21:07:18 +00:00 committed by Gerrit Code Review
commit 55aebfcede

View File

@ -131,7 +131,7 @@ function compress_and_save_image () {
OUT_IMAGE_PATH=$1-new
else
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 -O $IMAGE_TYPE $EXTRA_OPTIONS $TMP_IMAGE_PATH $1-new
fi
OUT_IMAGE_PATH=$1-new