From c7c341b198e79bb98f443c7c07f671c6387075af Mon Sep 17 00:00:00 2001 From: Don Penney Date: Fri, 7 May 2021 08:56:06 -0400 Subject: [PATCH] Add /pxeboot/grubx64.efi symlink for UEFI pxeboot UEFI pxeboot with shim.efi looks for the grubx64.efi in the tftpboot root directory. This update creates a symlink to the /pxeboot/EFI/grubx64.efi file in /pxeboot. Change-Id: Iabf8ec89d0af6e6b1a62e20159ecdfa16729444e Partial-Bug: 1927730 Signed-off-by: Don Penney --- .../pxe-network-installer/centos/pxe-network-installer.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/installer/pxe-network-installer/centos/pxe-network-installer.spec b/installer/pxe-network-installer/centos/pxe-network-installer.spec index ac035fea..444f8f0a 100644 --- a/installer/pxe-network-installer/centos/pxe-network-installer.spec +++ b/installer/pxe-network-installer/centos/pxe-network-installer.spec @@ -109,6 +109,7 @@ install -v -m 644 %{_sourcedir}/efi-centos-pxe-worker_lowlatency-install \ install -v -m 644 %{_sourcedir}/efi-centos-pxe-smallsystem_lowlatency-install \ %{buildroot}/pxeboot/pxelinux.cfg.files/efi-pxe-smallsystem_lowlatency-install-%{platform_release} +ln -sf /pxeboot/EFI/grubx64.efi %{buildroot}/pxeboot/grubx64.efi sed -i "s/xxxSW_VERSIONxxx/%{platform_release}/g" \ %{buildroot}/pxeboot/pxelinux.cfg.files/pxe-* \