Commit 38976d92 authored by Egor Ignatov's avatar Egor Ignatov Committed by Anton Midyukov

grub: access font located in the default path by file name

GRUB since 93a786a00 (kern/efi/sb: Enforce verification of font files) has enforced verification of font files in secure boot mode. In order to continue to be able to load some default fonts, they are added to the built-in memdisk bundled with a signed EFI image and may be accessed by file name prior the actual default path.
parent 20ccd617
......@@ -13,7 +13,7 @@ function load_video {
}
if [ -z "$GRUB_TERMINAL" ]; then
font=${prefix}/fonts/unicode.pf2
font=unicode
if loadfont "$font"; then
set gfxmode=auto
load_video
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment