mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 07:04:25 +00:00
linux: restrict zboot to aarch64
Enabling EFI_ZBOOT fails at least the x86 builds. More compatible platforms can be added after testing.
This commit is contained in:
parent
2082109d30
commit
d5c83b4a42
@ -1051,7 +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
|
||||
EFI_ZBOOT = whenAtLeast "6.1" yes; # Generic compression support for EFI payloads
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user