UEFI-secure: Use the signed font
In secure boot mode, only the unifont.pf2 is inside the signed .efi-file. To make secure and non-secure boot identical, use only the unifont.
This commit is contained in:
parent
809346bc1e
commit
2944c4652a
|
@ -1,10 +1,24 @@
|
||||||
set default=0
|
set default=0
|
||||||
|
|
||||||
loadfont $prefix/dejavu-bold-16.pf2
|
if [ x$feature_default_font_path = xy ] ; then
|
||||||
loadfont $prefix/dejavu-bold-14.pf2
|
font=unicode
|
||||||
loadfont $prefix/unicode.pf2
|
else
|
||||||
|
font=$prefix/unicode.pf2
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Copied from the netinst image
|
||||||
|
if loadfont $font ; then
|
||||||
|
set gfxmode=800x600
|
||||||
|
set gfxpayload=keep
|
||||||
|
insmod efi_gop
|
||||||
|
insmod efi_uga
|
||||||
|
insmod video_bochs
|
||||||
|
insmod video_cirrus
|
||||||
|
else
|
||||||
set gfxmode=auto
|
set gfxmode=auto
|
||||||
insmod all_video
|
insmod all_video
|
||||||
|
fi
|
||||||
|
|
||||||
insmod gfxterm
|
insmod gfxterm
|
||||||
insmod png
|
insmod png
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
desktop-image: "../splash.png"
|
desktop-image: "../splash.png"
|
||||||
title-color: "#ffffff"
|
title-color: "#ffffff"
|
||||||
title-font: "DejaVu Sans Bold 16"
|
title-font: "Unifont Regular 16"
|
||||||
title-text: "Live Boot Menu with GRUB"
|
title-text: "Live Boot Menu with GRUB"
|
||||||
message-font: "Unifont Regular 16"
|
message-font: "Unifont Regular 16"
|
||||||
terminal-font: "Unifont Regular 16"
|
terminal-font: "Unifont Regular 16"
|
||||||
|
@ -14,7 +14,7 @@ terminal-font: "Unifont Regular 16"
|
||||||
text = "@KEYMAP_SHORT@"
|
text = "@KEYMAP_SHORT@"
|
||||||
align = "center"
|
align = "center"
|
||||||
color = "#ffffff"
|
color = "#ffffff"
|
||||||
font = "DejaVu Sans Bold 14"
|
font = "Unifont Regular 16"
|
||||||
}
|
}
|
||||||
|
|
||||||
#boot menu
|
#boot menu
|
||||||
|
@ -24,9 +24,9 @@ terminal-font: "Unifont Regular 16"
|
||||||
top = 52%
|
top = 52%
|
||||||
height = 48%-80
|
height = 48%-80
|
||||||
item_color = "#a8a8a8"
|
item_color = "#a8a8a8"
|
||||||
item_font = "DejaVu Sans Bold 14"
|
item_font = "Unifont Regular 16"
|
||||||
selected_item_color= "#ffffff"
|
selected_item_color= "#ffffff"
|
||||||
selected_item_font = "DejaVu Sans Bold 14"
|
selected_item_font = "Unifont Regular 16"
|
||||||
item_height = 16
|
item_height = 16
|
||||||
item_padding = 0
|
item_padding = 0
|
||||||
item_spacing = 4
|
item_spacing = 4
|
||||||
|
@ -42,7 +42,7 @@ terminal-font: "Unifont Regular 16"
|
||||||
top = 100%-80
|
top = 100%-80
|
||||||
height = 16
|
height = 16
|
||||||
width = 70%
|
width = 70%
|
||||||
font = "DejaVu Sans Regular 14"
|
font = "Unifont Regular 16"
|
||||||
text_color = "#000000"
|
text_color = "#000000"
|
||||||
fg_color = "#ffffff"
|
fg_color = "#ffffff"
|
||||||
bg_color = "#a8a8a8"
|
bg_color = "#a8a8a8"
|
||||||
|
|
Loading…
Reference in New Issue