From ab62564e2f6f3bf897f65547b6e9155104c283b7 Mon Sep 17 00:00:00 2001 From: Robbie Harwood Date: Fri, 31 Mar 2023 17:47:53 -0400 Subject: [PATCH] tmp Signed-off-by: Robbie Harwood --- grub.macros | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grub.macros b/grub.macros index ce50aebd..959b9729 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}