Copy missing font file.
This commit is contained in:
parent
2656abba8d
commit
954b36fc92
@ -12,7 +12,7 @@ FILENAME="wmirescue_$ARCH.iso"
|
||||
|
||||
mkdir -p $TEMP_DIR/boot/bios/i386-pc
|
||||
mkdir -p $TEMP_DIR/boot/bios/fonts
|
||||
mkdir -p $TEMP_DIR/boot/efi
|
||||
mkdir -p $TEMP_DIR/boot/efi/fonts
|
||||
mkdir -p $TEMP_DIR/memtest
|
||||
mkdir -p $TEMP_DIR/rescue/$ARCH
|
||||
|
||||
@ -80,6 +80,7 @@ cat /usr/lib/grub/i386-pc/cdboot.img ${TEMP_DIR_GRUB}/core.img > $TEMP_DIR/boot/
|
||||
cat /usr/lib/grub/i386-pc/boot.img ${TEMP_DIR_GRUB}/core.img > ${TEMP_DIR_GRUB}/embedded.img
|
||||
|
||||
#EFI
|
||||
cp /usr/share/grub/unicode.pf2 $TEMP_DIR/boot/efi/fonts/
|
||||
grub-mkimage -C xz -O x86_64-efi -p /boot/efi/ -o "${TEMP_DIR_GRUB}/bootx64.efi" linux chain iso9660 normal all_video gfxterm gfxmenu png
|
||||
truncate -s $(($(stat --printf="%s" ${TEMP_DIR_GRUB}/bootx64.efi) + 24576)) ${TEMP_DIR_GRUB}/efi.img
|
||||
mkfs.vfat ${TEMP_DIR_GRUB}/efi.img
|
||||
|
Loading…
Reference in New Issue
Block a user