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 <pjones@redhat.com>
This commit is contained in:
Peter Jones 2017-08-16 15:03:09 -04:00
parent 345233e0e5
commit 35d1684777

View file

@ -91,6 +91,20 @@ hardware devices.\
%description %description
%{desc} %{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 %package common
Summary: grub2 common layout Summary: grub2 common layout
Group: System Environment/Base Group: System Environment/Base
@ -306,6 +320,23 @@ fi
%files %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 %files common -f grub.lang
%dir %{_libdir}/grub/ %dir %{_libdir}/grub/
%dir %{_datarootdir}/grub/ %dir %{_datarootdir}/grub/