[arch-releng] [RFC] Change from gzip to xz in SquashFS images
Now that Linux 2.6.38 hits [core] we can enable xz compression in SquashFS images by default. I can not test it now, but is supposed to work fine. Go ahead and apply to master? https://github.com/djgera/archiso/compare/ce31b12654...4ea8b93f9c
Also change all references from lzma to xz format. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> --- archiso/mkarchiso | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 431c9a7..a165d03 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -7,7 +7,7 @@ PACCONFIG="/etc/pacman.conf" export LABEL="ARCH_$(date +%Y%m)" PUBLISHER="Arch Linux <http://www.archlinux.org>" APPLICATION="Arch Linux Live/Rescue CD" -COMPRESSION="gzip" +COMPRESSION="xz" CREATE_DEFAULT="n" INSTALL_DIR="arch" @@ -25,9 +25,9 @@ usage () echo " -L <label> Set a label for the disk" echo " -P <publisher> Set a publisher for the disk" echo " -A <application> Set an application name for the disk" - echo " -c <compressor> Set SquashFS compression type: gzip, lzma or lzo. Default $COMPRESSION" + echo " -c <compressor> Set SquashFS compression type: gzip, xz or lzo. Default $COMPRESSION" echo " NOTES:" - echo " lzma: not officially supported yet by Linux (2.6.36)" + echo " xz: needs Linux >= 2.6.38" echo " lzo: needs Linux >= 2.6.36" echo " -D <install_dir> Set an install_dir. All files will by located here on ISO (except for syslinux)" echo " Default $INSTALL_DIR" -- 1.7.4.4
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> --- configs/syslinux-iso/Makefile | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/configs/syslinux-iso/Makefile b/configs/syslinux-iso/Makefile index a784bb6..441917e 100644 --- a/configs/syslinux-iso/Makefile +++ b/configs/syslinux-iso/Makefile @@ -2,7 +2,7 @@ ver=$(shell date +%Y.%m.%d) WORKDIR=work INSTALL_DIR=arch -COMPRESS=gzip +COMPRESS=xz ARCH?=$(shell uname -m) @@ -92,4 +92,3 @@ clean: .PHONY: root-image bootfiles initcpio overlay iso-mounts .PHONY: core-pkgs .PHONY: clean - -- 1.7.4.4
On 04/11/2011 10:53 AM, Gerardo Exequiel Pozzi wrote:
Now that Linux 2.6.38 hits [core] we can enable xz compression in SquashFS images by default.
I can not test it now, but is supposed to work fine.
Go ahead and apply to master?
https://github.com/djgera/archiso/compare/ce31b12654...4ea8b93f9c
Pushed all patches to master ([archlinux], [syslinux-iso] and [archiso2dual]). I guess next iso images will use XZ :). Good luck! -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
participants (1)
-
Gerardo Exequiel Pozzi