mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-16 05:11:31 +00:00
Use xz -T4 -0 instead of pxz
Test showed very little difference in file-size between -0 and -9 while both compression and decompression need much less memory and compression needs less CPU time for -0. Supported xz versions before 5.2 also accept the -T4 option but ignore it. Also depend on xz-utils instead of downloading pxz. LP: #1701132
This commit is contained in:
parent
7cc9576845
commit
646a88b5ee
1
debian/control
vendored
1
debian/control
vendored
@ -31,6 +31,7 @@ Depends: ${misc:Depends},
|
|||||||
rsync,
|
rsync,
|
||||||
squashfs-tools (>= 1:3.3-1),
|
squashfs-tools (>= 1:3.3-1),
|
||||||
vmdk-stream-converter [amd64 i386],
|
vmdk-stream-converter [amd64 i386],
|
||||||
|
xz-utils,
|
||||||
zerofree
|
zerofree
|
||||||
Suggests: partimage
|
Suggests: partimage
|
||||||
Breaks: ubuntu-defaults-builder (<< 0.32)
|
Breaks: ubuntu-defaults-builder (<< 0.32)
|
||||||
|
@ -4,8 +4,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)
|
||||||
apt-get install -qqy pxz
|
xz -0 -T4 -c binary/boot/disk.ext4 > livecd.ubuntu-cpc.disk1.img.xz
|
||||||
pxz -T4 -c binary/boot/disk.ext4 > livecd.ubuntu-cpc.disk1.img.xz
|
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user