Project

General

Profile

Actions

Bug #36658

closed

{linux,initrd}efi commands not working with grubaa64.efi

Added by Laura Hild over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Templates
Target version:
-
Fixed in Releases:
Found in Releases:

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 #1

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
Actions #3

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases 3.9.0 added
Actions #4

Updated by Anonymous over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/theforeman/foreman/pull/9862 added
Actions

Also available in: Atom PDF