From 8d07ca35413f505afa57fcab475064970c2a602f Mon Sep 17 00:00:00 2001 From: nl6720 Date: Tue, 7 May 2024 14:41:52 +0300 Subject: 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. --- CHANGELOG.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG.rst') diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b1ccb5d..25c8b85 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,6 +18,9 @@ Changed when using FAT32 (needs less than 1 MiB) and to give more space for adding custom files when repacking an ISO (e.g. when preparing it for Secure Boot). - Remove 300 KiB padding needed for CDs if the ISO exceeds the maximum size of a CD. +- Use ``xz -9e`` as the releng profile's initramfs compression. Now that mkinitcpio does not decompress the loadable + kernel modules and firmware files anymore and moves them to the early uncompressed initramfs, we can compress the main + initramfs image with a higher compression without it having much impact on the ISO build time. Deprecated ---------- -- cgit v1.2.3-70-g09d2