| |
@@ -585,6 +585,8 @@
|
| |
%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 @@
|
| |
%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 @@
|
| |
%{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}
|
| |
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