diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-01-05 15:47:56 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-01-06 21:30:10 +0100 |
commit | fa7d12a5cd01f6e744dba09eb5bfc42fb0071946 (patch) | |
tree | cb40529ba931199e3466ee2a93e5bd39ef1d5792 /images | |
parent | b518f1227c3792920b5a708e7f81efa208d98377 (diff) | |
download | drakx-fa7d12a5cd01f6e744dba09eb5bfc42fb0071946.tar drakx-fa7d12a5cd01f6e744dba09eb5bfc42fb0071946.tar.gz drakx-fa7d12a5cd01f6e744dba09eb5bfc42fb0071946.tar.bz2 drakx-fa7d12a5cd01f6e744dba09eb5bfc42fb0071946.tar.xz drakx-fa7d12a5cd01f6e744dba09eb5bfc42fb0071946.zip |
Fix installing unicode.pf2
"cp: cannot open '/boot/grub2/fonts/unicode.pf2' for reading: Permission denied"
Diffstat (limited to 'images')
-rw-r--r-- | images/NEWS | 1 | ||||
-rwxr-xr-x | images/make_boot_img | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/images/NEWS b/images/NEWS index 576806d82..c489c4e77 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,4 +1,5 @@ - Add missing 'genet' driver +- Fix installing unicode.pf2 - Fix warning & use the intended compression level - Include 'network-legacy' when using 'nfs' dracut module - sync with kernel 5.15 diff --git a/images/make_boot_img b/images/make_boot_img index b3ce0886e..92c6b7734 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -357,8 +357,9 @@ sub boot_iso { _ "sed -i 's#timeout=[0-9]*#timeout=1#' .boot_iso/EFI/BOOT/grub.cfg"; } # add theme - _ "cp -r -L /boot/grub2/{fonts,themes} .boot_iso/EFI/BOOT/"; + _ "cp -r -L /boot/grub2/themes .boot_iso/EFI/BOOT/"; _ "cp -f grub2.theme .boot_iso/EFI/BOOT/themes/maggy/theme.txt"; + _ "mkdir -p .boot_iso/EFI/BOOT/fonts"; _ "cp -f /usr/share/grub/unicode.pf2 .boot_iso/EFI/BOOT/fonts/"; # create efiboot.img, mtools wants the image to be a power of 32. my $efisize = ceil(ceil(chomp_(`du -s -k .boot_iso/EFI`) / 1024) * 1024 / 32) * 32; |