Actions
Bug #36658
closed{linux,initrd}efi commands not working with grubaa64.efi
Difficulty:
trivial
Triaged:
No
Description
The Kickstart default PXEGrub2 template uses the linuxefi
and initrdefi
commands for all EFI except EL<7,
if (rhel_compatible && os_major < 7) || !@host.pxe_loader_efi?
# Grub EFI commands are RHEL7+ only (prevents "Kernel is too old") or for non-EFI arch
linuxcmd = "linux"
initrdcmd = "initrd"
else
linuxcmd = "linuxefi"
initrdcmd = "initrdefi"
end
but attempting to use the linuxefi
and initrdefi
commands with grubaa64.efi
results in
error: ../../grub-core/script/function.c:119:can't find command `linuxefi'. error: ../../grub-core/script/function.c:119:can't find command `initrdefi'.
This is on my one-and-only aarch64 host, but as far as I can tell the patch which adds those commands to Grub only does so for x86/64. I'm planning to make a pull request, but it gives me pause wondering has everyone who ever PXE Kickstarted aarch64 with Foreman just been silently overriding the template and moving on, or am I way off base here?
Actions