build-vm: cleanup the leftover tarball

...unless we're debuggin'.
This commit is contained in:
Michael Shigorin 2015-02-20 19:08:12 +03:00
parent 9c7a33c093
commit aea95968ef

View File

@ -38,6 +38,7 @@ convert-image: prepare-image
qemu-img convert -O "$$VM_FORMAT" \
"$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"; \
rm "$(VM_RAWDISK)"; \
if [ -z "$(DEBUG)" ]; then rm "$(VM_TARBALL)"; fi; \
fi
run-image-scripts: GLOBAL_CLEANUP_PACKAGES := $(CLEANUP_PACKAGES)