grub2: avoid switching modes

to reduce flickering during boot

Issue #2778
This commit is contained in:
Alexander Boettcher
2018-06-06 13:01:54 +02:00
committed by Christian Helmuth
parent a3999c93f4
commit 193e14a489
4 changed files with 13 additions and 4 deletions

View File

@ -107,8 +107,8 @@ proc run_boot_dir {binaries} {
# puts $fh "loadfont /boot/grub/unicode.pf2"
puts $fh "set timeout=0"
# tell grub2 to prefer 32bit framebuffer resolution
puts $fh "set gfxpayload=\"0x0x32\""
# choose best graphic mode
puts $fh "set gfxpayload=auto"
if {[have_include image/uefi]} {
puts $fh "insmod gfxterm"