Delete -new image once copied
Before, this was created on /tmp/image.XXX so was removed at the end of the script. Change-Id: I8ceb97626d389c5bcb66fa3058f74388009ea677
This commit is contained in:
parent
d339f9b25e
commit
a495079695
@ -112,7 +112,9 @@ function compress_and_save_image () {
|
||||
qemu-img convert ${COMPRESS_IMAGE:+-c} -f raw $TMP_IMAGE_PATH -O $IMAGE_TYPE $1-new
|
||||
rm $TMP_IMAGE_PATH
|
||||
|
||||
TMP_IMAGE_PATH=$1-new save_image $1
|
||||
TMP_IMAGE_PATH=$1-new
|
||||
save_image $1
|
||||
remove_image
|
||||
}
|
||||
|
||||
function remove_image () {
|
||||
|
Loading…
Reference in New Issue
Block a user