kernel: use zstd compression on 5.9+.

This commit is contained in:
Blaž Hrastnik 2020-12-12 13:56:33 +09:00 committed by Atemu
parent 9fee546667
commit 9461f0a734

View File

@ -654,7 +654,10 @@ let
MODULE_COMPRESS = yes;
MODULE_COMPRESS_XZ = yes;
KERNEL_XZ = yes;
# use zstd for kernel compression if newer than 5.9, else xz.
KERNEL_XZ = whenOlder "5.9" yes;
KERNEL_ZSTD = whenAtLeast "5.9" yes;
SYSVIPC = yes; # System-V IPC