linux: enable EFI_ZBOOT for generic compression support

Starting 6.1, it is possible to have generic compression for aarch64 and riscv64
via CONFIG_EFI_ZBOOT which implements apparently its own decompression.

https://lwn.net/Articles/907679/
This commit is contained in:
Raito Bezarius 2023-06-25 12:55:52 +02:00 committed by Franz Pletz
parent c420ad3f52
commit 2082109d30
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1051,6 +1051,7 @@ let
EFI_STUB = yes; # EFI bootloader in the bzImage itself
EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER =
whenOlder "6.2" (whenAtLeast "5.8" yes); # initrd kernel parameter for EFI
EFI_ZBOOT = whenAtLeast "6.1" yes; # Generic compression support for EFI payloads
CGROUPS = yes; # used by systemd
FHANDLE = yes; # used by systemd
SECCOMP = yes; # used by systemd >= 231