mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 22:35:28 +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,
|
bootloader with modular architecture. It support rich varietyof kernel formats,
|
||||||
file systems, computer architectures and hardware devices. This subpackage
|
file systems, computer architectures and hardware devices. This subpackage
|
||||||
provides support for EFI systems.
|
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
|
%endif
|
||||||
|
|
||||||
%package tools
|
%package tools
|
||||||
|
@ -856,12 +868,15 @@ fi
|
||||||
%ifarch %{efiarchs}
|
%ifarch %{efiarchs}
|
||||||
%files efi
|
%files efi
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/grub/%{grubefiarch}
|
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}-efi.cfg
|
%config(noreplace) %{_sysconfdir}/%{name}-efi.cfg
|
||||||
%attr(0755,root,root)/boot/efi/EFI/%{efidir}
|
%attr(0755,root,root)/boot/efi/EFI/%{efidir}
|
||||||
%attr(0755,root,root)/boot/efi/EFI/%{efidir}/fonts
|
%attr(0755,root,root)/boot/efi/EFI/%{efidir}/fonts
|
||||||
%ghost %config(noreplace) /boot/efi/EFI/%{efidir}/grub.cfg
|
%ghost %config(noreplace) /boot/efi/EFI/%{efidir}/grub.cfg
|
||||||
%doc grub-%{tarversion}/COPYING
|
%doc grub-%{tarversion}/COPYING
|
||||||
|
|
||||||
|
%files efi-modules
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/grub/%{grubefiarch}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files tools -f grub.lang
|
%files tools -f grub.lang
|
||||||
|
|
Loading…
Reference in a new issue