summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img3
1 files changed, 2 insertions, 1 deletions
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;