mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 14:32:58 +00:00
grub.macros: Install font in /boot/grub2 instead of the ESP
GRUB is now using /boot/grub2 as the directory where all the resources are loaded, but the unicode.pf2 is still installed in the EFI System Partition. Resolves: rhbz#1739762 Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
This commit is contained in:
parent
fc19d7847d
commit
9cf30d96e9
1 changed files with 3 additions and 3 deletions
|
@ -517,7 +517,7 @@ install -m 700 %{3} $RPM_BUILD_ROOT%{efi_esp_dir}/%{3} \
|
|||
install -D -m 700 %{2} $RPM_BUILD_ROOT%{efi_esp_boot}/BOOTARM.EFI \
|
||||
%endif \
|
||||
install -D -m 700 unicode.pf2 \\\
|
||||
$RPM_BUILD_ROOT%{efi_esp_dir}/fonts/unicode.pf2 \
|
||||
${RPM_BUILD_ROOT}/boot/%{name}/fonts/unicode.pf2 \
|
||||
${RPM_BUILD_ROOT}/%{_bindir}/%{name}-editenv \\\
|
||||
${RPM_BUILD_ROOT}/boot/%{name}/grubenv create \
|
||||
%{expand:%%do_install_protected_file %{name}-%{package_arch}} \
|
||||
|
@ -615,7 +615,7 @@ ln -s ../boot/%{name}/grub.cfg \\\
|
|||
%ifarch %{arm} \
|
||||
%attr(0700,root,root)%{efi_esp_boot}/BOOTARM.EFI \
|
||||
%endif \
|
||||
%dir %attr(0700,root,root)%{efi_esp_dir}/fonts \
|
||||
%attr(0700,root,root)/boot/%{name}/fonts \
|
||||
%dir %attr(0700,root,root)/boot/loader/entries \
|
||||
%ghost %config(noreplace) /boot/%{name}/grub.cfg \
|
||||
%ghost %config(noreplace) %attr(0700,root,root)%{efi_esp_dir}/grub.cfg \
|
||||
|
@ -637,5 +637,5 @@ ln -s ../boot/%{name}/grub.cfg \\\
|
|||
%{expand:%%files %{1}-cdboot} \
|
||||
%defattr(0700,root,root,-) \
|
||||
%attr(0700,root,root)%{efi_esp_dir}/%{3} \
|
||||
%attr(0700,root,root)%{efi_esp_dir}/fonts \
|
||||
%attr(0700,root,root)/boot/%{name}/fonts \
|
||||
%{nil}
|
||||
|
|
Loading…
Reference in a new issue