mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 14:32:58 +00:00
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:
parent
345233e0e5
commit
35d1684777
1 changed files with 31 additions and 0 deletions
31
grub2.spec
31
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/
|
||||
|
|
Loading…
Reference in a new issue