Merge pull request #239721 from RaitoBezarius/zboot

linux: enable EFI_ZBOOT for generic compression support
This commit is contained in:
Florian Klink 2024-07-04 00:35:08 +03:00 committed by GitHub
commit 61f45c3352
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1051,6 +1051,12 @@ 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
# Generic compression support for EFI payloads
# Add new platforms only after they have been verified to build and boot.
# This is unsupported on x86 due to a custom decompression mechanism.
EFI_ZBOOT = mkIf stdenv.hostPlatform.isAarch64 (whenAtLeast "6.1" yes);
CGROUPS = yes; # used by systemd
FHANDLE = yes; # used by systemd
SECCOMP = yes; # used by systemd >= 231