[arch-general] xz compression in kernel 2.6.38

KESHAV P.R. skodabenz at gmail.com
Wed Mar 16 10:28:23 EDT 2011

Hi all,
         Now that kernel 2.6.38 supports xz (lzma2, not lzma), how
about using it as the default compression for the kernel and
initramfs. mkinitcpio simply requires COMPRESSION="xz" to generate
lzma2 compressed initramfs. But xz compressed kernel requires change
in the config option and once module-init-toools supports xz
compressed modules we can say good bye to gzip.

Related commits :-

For kernel and initramfs xz support -


Squashfs xz support


I think this option should be added to mkinitcpio to make users aware
of this option. Not sure of the reduction in kernel and initramfs size
though (compared to gzip and lzma).



PS: Seems like I am actually late in conveying this since 2.6.38
kernel is now in testing. But atleast from pkgrel 2 onwards?

More information about the arch-general mailing list