From b24a4ef1fd87381f2c70c2a51f2643e8b6fb87f0 Mon Sep 17 00:00:00 2001 From: Aster Boese Date: Thu, 5 Mar 2026 20:08:42 -0500 Subject: [PATCH] kconfigcheck: version gate MODULE_COMPRESS MODULE_COMPRESS was added after the individual compression algorithm options. As such, it needs a separate version set or any kernel below the version it was added will fail kconfig check. Signed-off-by: Aster Boese Part-of: --- kconfigcheck.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kconfigcheck.toml b/kconfigcheck.toml index c0dde2a0f..3eac57298 100644 --- a/kconfigcheck.toml +++ b/kconfigcheck.toml @@ -85,11 +85,13 @@ LBDAF = "y" # Provide a proper dummy null console to improve compatibility # on devices that like to coerce console=null NULL_TTY = "m" +# MODULE_COMPRESS was added after the individual compression algorithm options +["category:default".">=6.12.0"."all"] +MODULE_COMPRESS = "y" ["category:default".">=6.2.0"."all"] # MODULE_COMPRESS_ZSTD exists since 5.13, but since kernels prior to 6.2 cannot # decompress it, we would break devices with split initramfs which use busybox # modprobe, so we only enforce it on 6.2 or newer -MODULE_COMPRESS = "y" MODULE_COMPRESS_ZSTD = "y" # MODULE_DECOMPRESS exists since 5.17, but can only decompress zstd since 6.2 MODULE_DECOMPRESS = "y"