mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-28 15:46:53 +00:00
On UEFI, put modules in a subpackage.
Since they don't normally get used, there's no reason to normally install them. Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
39307a818d
commit
c24bd092bc
1 changed files with 16 additions and 1 deletions
17
grub2.spec
17
grub2.spec
|
@ -584,6 +584,18 @@ The GRand Unified Bootloader (GRUB) is a highly configurable and customizable
|
|||
bootloader with modular architecture. It support rich varietyof kernel formats,
|
||||
file systems, computer architectures and hardware devices. This subpackage
|
||||
provides support for EFI systems.
|
||||
|
||||
%package efi-modules
|
||||
Summary: Modules used to build custom grub.efi images
|
||||
Group: System Environment/Base
|
||||
Requires: %{name}-tools = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: grub2-efi <= 1:2.00-20%{?dist}
|
||||
|
||||
%description efi-modules
|
||||
The GRand Unified Bootloader (GRUB) is a highly configurable and customizable
|
||||
bootloader with modular architecture. It support rich varietyof kernel formats,
|
||||
file systems, computer architectures and hardware devices. This subpackage
|
||||
provides support for rebuilding your own grub.efi on EFI systems.
|
||||
%endif
|
||||
|
||||
%package tools
|
||||
|
@ -856,12 +868,15 @@ fi
|
|||
%ifarch %{efiarchs}
|
||||
%files efi
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/grub/%{grubefiarch}
|
||||
%config(noreplace) %{_sysconfdir}/%{name}-efi.cfg
|
||||
%attr(0755,root,root)/boot/efi/EFI/%{efidir}
|
||||
%attr(0755,root,root)/boot/efi/EFI/%{efidir}/fonts
|
||||
%ghost %config(noreplace) /boot/efi/EFI/%{efidir}/grub.cfg
|
||||
%doc grub-%{tarversion}/COPYING
|
||||
|
||||
%files efi-modules
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/grub/%{grubefiarch}
|
||||
%endif
|
||||
|
||||
%files tools -f grub.lang
|
||||
|
|
Loading…
Reference in a new issue