diff options
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ $(BOOTTARGETS) $(CURBOOTTARGETS): $(COMPRESSTARGETS): $(info ** Commiting and Compressing all changes to the image **) $(eval IMAGE_NAME := $(@D)/build/rootfs-image) - @qemu-img convert -p -f qcow2 -c $(IMAGE_NAME) -O qcow2 $(IMAGE_NAME).tmp + @virt-sparsify --compress --verbose $(IMAGE_NAME) $(IMAGE_NAME).tmp @rm -f $(IMAGE_NAME) @mv $(IMAGE_NAME).tmp $(IMAGE_NAME) |