summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 98afce4..0906aa6 100644
--- a/Makefile
+++ b/Makefile
@@ -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)