Notification time stamped 2023-03-31 20:00:29 UTC
From 9d4d1e919cd197b8d6a2d81d5152fa06eb291d49 Mon Sep 17 00:00:00 2001 From: Chris Adams linux@cmadams.net Date: Mar 31 2023 19:59:22 +0000 Subject: Provide a legacy PXE boot core.0
This enables PXE booting with grub2 rather than syslinux.
Signed-off-by: Chris Adams linux@cmadams.net [rharwood: bump spec, fix commit message] Signed-off-by: Robbie Harwood rharwood@redhat.com
---
diff --git a/grub.macros b/grub.macros index e88a289..ce50aeb 100644 --- a/grub.macros +++ b/grub.macros @@ -623,6 +623,16 @@ if [ %{3} -eq 0 ]; then \ ${RPM_BUILD_ROOT}/%{_bindir}/grub2-editenv \\ ${RPM_BUILD_ROOT}/boot/grub2/grubenv create \ fi \ +mkdir pxe \ +./grub-mknetdir \\ + --directory ./grub-core \\ + --fonts="" \\ + --locales="" \\ + --themes="" \\ + --modules="configfile gzio linux reboot test" \\ + --net-directory=pxe \\ + --subdir . \ +mv pxe/*/core.0 $RPM_BUILD_ROOT/%{_libdir}/grub/%{1}/ \ %{expand:%%do_install_protected_file grub2-%{legacy_package_arch}} \ cd .. \ %{nil} diff --git a/grub2.spec b/grub2.spec index 811756b..7a3bad6 100644 --- a/grub2.spec +++ b/grub2.spec @@ -17,7 +17,7 @@ Name: grub2 Epoch: 1 Version: 2.06 -Release: 92%{?dist} +Release: 93%{?dist} Summary: Bootloader with support for Linux, Multiboot and more License: GPLv3+ URL: http://www.gnu.org/software/grub/ @@ -544,6 +544,9 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg %endif
%changelog +* Fri Mar 31 2023 Robbie Harwood rharwood@redhat.com - 2.06-93 +- Add legacy pxe core.0 (cmadams) + * Thu Mar 30 2023 Robbie Harwood rharwood@redhat.com - 2.06-92 - Disable the tpm verifier if the TPM device is not present
https://src.fedoraproject.org/rpms/grub2/c/9d4d1e919cd197b8d6a2d81d5152fa06e...
scm-commits@lists.fedoraproject.org