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 <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8131>
This commit is contained in:
Aster Boese 2026-03-05 20:08:42 -05:00 committed by The Friendly Meow (merge) Bot
parent 22a1e98c89
commit b24a4ef1fd
No known key found for this signature in database

View file

@ -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"