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.
This commit is contained in:
parent
20ccd617f3
commit
38976d9230
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user