From b251d6167584a12ec3e2fab799a63595fa954186 Mon Sep 17 00:00:00 2001 From: Thiago Abdo Date: Mon, 28 Oct 2019 11:22:48 +0100 Subject: Change compressing engine to virt-sparsify(better performance) Signed-off-by: Thiago Abdo --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-55-g7522