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
commit 79377f4312

7
debian/changelog vendored

@ -1,8 +1,13 @@
livecd-rootfs (2.485) UNRELEASED; urgency=medium
[ Michael Hudson-Doyle ]
* Automount a partition of fixed UUID for giving subiquity canned answers.
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 17 Nov 2017 13:59:37 +1300
[ Balint Reczey ]
* Use default xz compression (-6) for raspi2 image.
Xz with -0 generated ~35% bigger compressed image. (LP: #1732681)
-- Balint Reczey <rbalint@ubuntu.com> Mon, 20 Nov 2017 21:18:53 +0100
livecd-rootfs (2.484) bionic; urgency=medium

@ -13,7 +13,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

Loading…
Cancel
Save