From cbf0a7c417810ac99b4de99e46c72db922d76f08 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Tue, 5 Dec 2017 22:40:35 +0100 Subject: [PATCH] Use default xz compression (-6) for raspi2 image Xz with -0 generated ~35% bigger compressed image. LP: #1732681 --- live-build/ubuntu-cpc/hooks/040-qcow2-image.binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/ubuntu-cpc/hooks/040-qcow2-image.binary b/live-build/ubuntu-cpc/hooks/040-qcow2-image.binary index 5f02ad53..1180a1e8 100755 --- a/live-build/ubuntu-cpc/hooks/040-qcow2-image.binary +++ b/live-build/ubuntu-cpc/hooks/040-qcow2-image.binary @@ -4,7 +4,7 @@ case $ARCH:$SUBARCH in # Not sure if any other cloud images use subarch for something that # should take qcow2 format, so only skipping this on raspi2 for now. armhf:raspi2) - xz -0 -T4 -c binary/boot/disk.ext4 > livecd.ubuntu-cpc.disk1.img.xz + xz -T4 -c binary/boot/disk.ext4 > livecd.ubuntu-cpc.disk1.img.xz exit 0 ;; esac