[Backport release-25.05] linux/common-config: enable EFI on supported platforms (#409846)

This commit is contained in:
K900
2025-05-22 21:25:19 +03:00
committed by GitHub

View File

@@ -1165,6 +1165,7 @@ let
DVB_DYNAMIC_MINORS = option yes; # we use udev
EFI = lib.mkIf stdenv.hostPlatform.isEfi yes;
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