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:
6edcf9dc2e

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
Jeremi Piotrowski 2022-01-04 12:18:09 +01:00
parent 27dbbf6219
commit c5fdedab1f

View File

@ -169,6 +169,7 @@ CONFIG_EDAC=m
# CONFIG_EDAC_LEGACY_SYSFS is not set # CONFIG_EDAC_LEGACY_SYSFS is not set
CONFIG_EFI=y CONFIG_EFI=y
CONFIG_EFIVAR_FS=y CONFIG_EFIVAR_FS=y
CONFIG_EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER=y
CONFIG_EFI_STUB=y CONFIG_EFI_STUB=y
# CONFIG_ENABLE_WARN_DEPRECATED is not set # CONFIG_ENABLE_WARN_DEPRECATED is not set
CONFIG_ENA_ETHERNET=m CONFIG_ENA_ETHERNET=m