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 <don.penney@windriver.com>
This commit is contained in:
Don Penney 2021-05-07 08:56:06 -04:00
parent ce75299649
commit c7c341b198

View File

@ -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 \ install -v -m 644 %{_sourcedir}/efi-centos-pxe-smallsystem_lowlatency-install \
%{buildroot}/pxeboot/pxelinux.cfg.files/efi-pxe-smallsystem_lowlatency-install-%{platform_release} %{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" \ sed -i "s/xxxSW_VERSIONxxx/%{platform_release}/g" \
%{buildroot}/pxeboot/pxelinux.cfg.files/pxe-* \ %{buildroot}/pxeboot/pxelinux.cfg.files/pxe-* \