From c5fdedab1ff9761f449be513380abc1dbcc63878 Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Tue, 4 Jan 2022 12:18:09 +0100 Subject: [PATCH] sys-kernel/coreos-modules: explicitly enable EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER We rely on this setting to make iPXE booting work on EFI platforms. In iPXE we use 2 initramfs': the kernel builtin one and a pxe specific one that contains the contents of the usr partition. This appears to rely on the EFI stub, which unpacks the second one based on the passed commandline parameter (initrd=). This affects arm64 kernels after v5.11 because of this commit: https://github.com/torvalds/linux/commit/6edcf9dc2e1aff3aa1f5a69ee420fb30dd0e968a Signed-off-by: Jeremi Piotrowski --- .../sys-kernel/coreos-modules/files/commonconfig-5.15 | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.15 b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.15 index 1d19f0713c..069a568a26 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.15 +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-5.15 @@ -169,6 +169,7 @@ CONFIG_EDAC=m # CONFIG_EDAC_LEGACY_SYSFS is not set CONFIG_EFI=y CONFIG_EFIVAR_FS=y +CONFIG_EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER=y CONFIG_EFI_STUB=y # CONFIG_ENABLE_WARN_DEPRECATED is not set CONFIG_ENA_ETHERNET=m