aboutsummaryrefslogtreecommitdiff
path: root/configs/releng/airootfs
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2024-05-07 14:41:52 +0300
committernl6720 <nl6720@gmail.com>2024-05-18 12:06:03 +0300
commit8d07ca35413f505afa57fcab475064970c2a602f (patch)
treeb4c31030622340bebf05642fde0ce04ec6d329ca /configs/releng/airootfs
parentead84ee9c0d91bf13385f7e6727e6b95444b5f3f (diff)
downloadarchiso-8d07ca35413f505afa57fcab475064970c2a602f.tar.gz
archiso-8d07ca35413f505afa57fcab475064970c2a602f.tar.bz2
configs/releng/airootfs/etc/mkinitcpio.conf.d/archiso.conf: use xz -9e
Use higher compression for the initramfs. Now that mkinitcpio moves the compressed kernel modules and firmware files to the early uncompressed initramfs, we can compress the main initramfs image slightly more without it increasing the built time too much. This will increase the memory required for decompression from 9 MiB to 65 MiB (assuming the kernel's decompressor works the same as the xz tool), but that should not be an issue for any system targeting Arch. This reduces the initramfs size by ~250 KiB, which will save ~500 KiB for the whole ISO.
Diffstat (limited to 'configs/releng/airootfs')
-rw-r--r--configs/releng/airootfs/etc/mkinitcpio.conf.d/archiso.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/releng/airootfs/etc/mkinitcpio.conf.d/archiso.conf b/configs/releng/airootfs/etc/mkinitcpio.conf.d/archiso.conf
index 98dd514..5c008e5 100644
--- a/configs/releng/airootfs/etc/mkinitcpio.conf.d/archiso.conf
+++ b/configs/releng/airootfs/etc/mkinitcpio.conf.d/archiso.conf
@@ -1,2 +1,3 @@
HOOKS=(base udev microcode modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs block filesystems keyboard)
COMPRESSION="xz"
+COMPRESSION_OPTIONS=(-9e)