sys-kernel/coreos-modules: Compress initrd with xz rather than zstd

Again, zstd is faster but we're getting seriously short on space. Unlike
the kernel itself, this applies to both amd64 and arm64.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2025-04-10 18:23:16 +01:00
parent 48ba5fbc6d
commit d1a38bfa94
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
- The kernel image and its embedded initrd are now compressed with xz rather than zstd. This gives greater compression at the cost of decompression performance. Systems may therefore now be ever so slightly slower to boot, but this was necessary to avoid running out of space in the /boot partition. Further measures to address the space issue are planned, and perhaps we can switch back to zstd in a later release.

View File

@ -292,7 +292,7 @@ CONFIG_INFINIBAND_MTHCA=m
CONFIG_INFINIBAND_OCRDMA=m CONFIG_INFINIBAND_OCRDMA=m
CONFIG_INFINIBAND_SRP=m CONFIG_INFINIBAND_SRP=m
CONFIG_INFINIBAND_USER_MAD=m CONFIG_INFINIBAND_USER_MAD=m
CONFIG_INITRAMFS_COMPRESSION_ZSTD=y CONFIG_INITRAMFS_COMPRESSION_XZ=y
CONFIG_INIT_STACK_NONE=y CONFIG_INIT_STACK_NONE=y
CONFIG_INPUT_EVDEV=m CONFIG_INPUT_EVDEV=m
CONFIG_INPUT_MISC=y CONFIG_INPUT_MISC=y