From: Michael Tremer Date: Fri, 28 May 2021 16:14:32 +0000 (+0000) Subject: master: Enable graphical boot and install unicode font X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43aa8fb1cfd3a1cb4f144a0ad77fb69726de7efd;p=people%2Fms%2Fbricklayer.git master: Enable graphical boot and install unicode font Signed-off-by: Michael Tremer --- diff --git a/src/bricklayer-master b/src/bricklayer-master index eb6acf8..a30bba0 100644 --- a/src/bricklayer-master +++ b/src/bricklayer-master @@ -43,6 +43,8 @@ ZSTD_COMPRESSION_LEVEL=22 # Grub modules to install GRUB_MODULES=( + all_video + gfxmenu iso9660 linux linux16 @@ -170,18 +172,17 @@ make_grub_config() { cat > "${path}" <&2 rm -rf "${tempdir}" return 1 fi + mkdir -p "${tempdir}/boot/grub/fonts" + + # Install GRUB fonts + local font + for font in unicode.pf2; do + if ! cp -- "${buildsystem}/usr/share/grub/${font}" \ + "${tempdir}/boot/grub/fonts/${font}"; then + echo "Could not install font '${font}'" >&2 + rm -rf "${tempdir}" + return 1 + fi + done + # Master the ISO file if ! xorriso "${args[@]}"; then r=1