Notification time stamped 2023-03-31 21:57:48 UTC
From ab62564e2f6f3bf897f65547b6e9155104c283b7 Mon Sep 17 00:00:00 2001
From: Robbie Harwood <rharwood(a)redhat.com>
Date: Mar 31 2023 21:47:53 +0000
Subject: tmp
Signed-off-by: Robbie Harwood <rharwood(a)redhat.com>
---
diff --git a/grub.macros b/grub.macros
index ce50aeb..959b972 100644
--- a/grub.macros
+++ b/grub.macros
@@ -623,6 +623,7 @@ if [ %{3} -eq 0 ]; then \
${RPM_BUILD_ROOT}/%{_bindir}/grub2-editenv \\\
${RPM_BUILD_ROOT}/boot/grub2/grubenv create \
fi \
+%{expand:%ifnarch ppc64le \
mkdir pxe \
./grub-mknetdir \\\
--directory ./grub-core \\\
@@ -633,6 +634,7 @@ mkdir pxe \
--net-directory=pxe \\\
--subdir . \
mv pxe/*/core.0 $RPM_BUILD_ROOT/%{_libdir}/grub/%{1}/ \
+%endif} \
%{expand:%%do_install_protected_file grub2-%{legacy_package_arch}} \
cd .. \
%{nil}
https://src.fedoraproject.org/rpms/grub2/c/ab62564e2f6f3bf897f65547b6e915...