From 35d1684777f3378a585421958dabbcf0ffe8400e Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 16 Aug 2017 15:03:09 -0400 Subject: [PATCH] Make a temporary grub2-efi package on 64-bit efi arches. This makes it so we can build grub2 with the changes before anaconda and lorax are fixed. Signed-off-by: Peter Jones --- grub2.spec | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/grub2.spec b/grub2.spec index 687fd29..787a299 100644 --- a/grub2.spec +++ b/grub2.spec @@ -91,6 +91,20 @@ hardware devices.\ %description %{desc} +# temporary +%ifarch x86_64 aarch64 +%package efi +Summary: Bootloader with support for Linux, Multiboot, and more +Group: System Environment/Base +Requires: %{name}-tools-minimal = %{evr} +Requires: %{name}-tools-extra = %{evr} +Requires: %{name}-tools = %{evr} + +%description efi +%{desc} +This subpackage provides support for %{_arch} EFI systems +%endif + %package common Summary: grub2 common layout Group: System Environment/Base @@ -306,6 +320,23 @@ fi %files +# temporary +%ifarch x86_64 aarch64 +%files efi +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/%{name}-efi.cfg +%dir %attr(0755,root,root)/boot/efi/EFI/%{efidir} +%dir %attr(0755,root,root)/boot/efi/EFI/%{efidir}/fonts +%ghost %config(noreplace) /boot/efi/EFI/%{efidir}/grub.cfg +/boot/grub2/grubenv +%ghost %config(noreplace) %attr(0700,root,root)/boot/efi/EFI/%{efidir}/grubenv +/boot/efi/EFI/%{efidir}/fonts/unicode.pf2 +/boot/efi/EFI/%{efidir}/gcd%{efiarch}.efi +/boot/efi/EFI/%{efidir}/grub%{efiarch}.efi +/boot/grub2/grubenv +%license COPYING +%endif + %files common -f grub.lang %dir %{_libdir}/grub/ %dir %{_datarootdir}/grub/