mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 06:22:43 +00:00
Go back to installing unicode.pf2
lorax has its own code for building EFI images, and it needs the font file to do that successfully, so let's make sure it's there for lorax to find. This doesn't revert the embedding change, it just reverts the part where we don't bother to install the font to /boot/grub2/fonts any more. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
f09f9764c6
commit
1af394246e
1 changed files with 4 additions and 0 deletions
|
@ -585,6 +585,8 @@ install -m 700 %{3} $RPM_BUILD_ROOT%{efi_esp_dir}/%{3} \
|
|||
%ifarch %{arm} \
|
||||
install -D -m 700 %{2} $RPM_BUILD_ROOT%{efi_esp_boot}/BOOTARM.EFI \
|
||||
%endif \
|
||||
install -D -m 700 unicode.pf2 \\\
|
||||
${RPM_BUILD_ROOT}/boot/grub2/fonts/unicode.pf2 \
|
||||
${RPM_BUILD_ROOT}/%{_bindir}/grub2-editenv \\\
|
||||
${RPM_BUILD_ROOT}/boot/grub2/grubenv create \
|
||||
%{expand:%%do_install_protected_file grub2-%{package_arch}} \
|
||||
|
@ -692,6 +694,7 @@ ln -s ../boot/grub2/grub.cfg \\\
|
|||
%ifarch %{arm} \
|
||||
%attr(0700,root,root) %verify(not mtime) %{efi_esp_boot}/BOOTARM.EFI \
|
||||
%endif \
|
||||
%attr(0700,root,root)/boot/grub2/fonts \
|
||||
%dir %attr(0700,root,root)/boot/loader/entries \
|
||||
%ghost %config(noreplace) %attr(0700,root,root)/boot/grub2/grub.cfg \
|
||||
%ghost %config(noreplace) %verify(not mtime) %attr(0700,root,root)%{efi_esp_dir}/grub.cfg \
|
||||
|
@ -713,4 +716,5 @@ ln -s ../boot/grub2/grub.cfg \\\
|
|||
%{expand:%%files %{1}-cdboot} \
|
||||
%defattr(-,root,root,-) \
|
||||
%attr(0700,root,root) %verify(not mtime) %{efi_esp_dir}/%{3} \
|
||||
%attr(0700,root,root)/boot/grub2/fonts \
|
||||
%{nil}
|
||||
|
|
Loading…
Reference in a new issue