kconfigcheck: Only require zstd module (de)compression on 6.2 or newer
The in-kernel zstd module decompression exists since kernel 6.2 [1], so
in order to accomodate split initramfs devices, we can only safely
require zstd module compression and decompression on 6.2 or newer.
[1]: 169a58ad82
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7952>
This commit is contained in:
parent
3838b98352
commit
bebe107f52
1 changed files with 5 additions and 2 deletions
|
|
@ -85,10 +85,13 @@ LBDAF = "y"
|
|||
# Provide a proper dummy null console to improve compatibility
|
||||
# on devices that like to coerce console=null
|
||||
NULL_TTY = "m"
|
||||
["category:default".">=5.13.0"."all"]
|
||||
["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"
|
||||
["category:default".">=5.17.0"."all"]
|
||||
# MODULE_DECOMPRESS exists since 5.17, but can only decompress zstd since 6.2
|
||||
MODULE_DECOMPRESS = "y"
|
||||
["category:default".">=5.19.0"."all"]
|
||||
FW_LOADER_COMPRESS = "y"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue