mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
[Backport release-25.05] linux/common-config: enable EFI on supported platforms (#409846)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user