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?
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9804 added
Updated by Anonymous about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|8a33fdc0d900978b880cd631fa83e0c4b9a4b9ea.
Updated by The Foreman Bot about 1 year ago
- Pull request https://github.com/theforeman/foreman/pull/9862 added
Actions