Merge pull request #310110 from lheckemann/linux-modules-xz

linux: always use xz for compressing modules

authored by Maximilian Bosch and committed by GitHub 4467d803 2450f5bd

+2 -3
+1 -1
nixos/doc/manual/release-notes/rl-2405.section.md
··· 53 - `system.etc.overlay.enable` option was added. If enabled, `/etc` is 54 mounted via an overlayfs instead of being created by a custom perl script. 55 56 - - For each supporting version of the Linux kernel firmware blobs and kernel modules 57 are compressed with zstd. For firmware blobs this means an increase of 4.4% in size, however 58 a significantly higher decompression speed. 59
··· 53 - `system.etc.overlay.enable` option was added. If enabled, `/etc` is 54 mounted via an overlayfs instead of being created by a custom perl script. 55 56 + - For each supporting version of the Linux kernel firmware blobs 57 are compressed with zstd. For firmware blobs this means an increase of 4.4% in size, however 58 a significantly higher decompression speed. 59
+1 -2
pkgs/os-specific/linux/kernel/common-config.nix
··· 951 ZEROPLUS_FF = yes; 952 953 MODULE_COMPRESS = whenOlder "5.13" yes; 954 - MODULE_COMPRESS_XZ = whenOlder "5.13" yes; 955 - MODULE_COMPRESS_ZSTD = whenAtLeast "5.13" yes; 956 957 SYSVIPC = yes; # System-V IPC 958
··· 951 ZEROPLUS_FF = yes; 952 953 MODULE_COMPRESS = whenOlder "5.13" yes; 954 + MODULE_COMPRESS_XZ = yes; 955 956 SYSVIPC = yes; # System-V IPC 957