Use default xz compression (-6) for raspi2 image

Xz with -0 generated ~35% bigger compressed image.

LP: #1732681
ubuntu/cosmic
Balint Reczey 7 years ago
parent 43483b356f
commit c45ea223b4

@ -13,7 +13,7 @@ case $ARCH:$SUBARCH in
# Not sure if any other cloud images use subarch for something that # Not sure if any other cloud images use subarch for something that
# should take qcow2 format, so only skipping this on raspi2 for now. # should take qcow2 format, so only skipping this on raspi2 for now.
armhf:raspi2) 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 exit 0
;; ;;
esac esac

Loading…
Cancel
Save