Keep the native terminal active when enabling gfxterm

grub-mkconfig will set GRUB_TERMINAL_OUTPUT to "gfxterm" unless the user
has overridden it. On EFI systems, this will stop output from going to the
default "console" terminal. When the EFI fw console is configured to output to
both serial and video, this will cause GRUB to only display on video - while
continuing to accept input from both video and serial.

Instead of switching from "console" to "gfxterm", let's output to both.

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
dann frazier 2018-01-18 11:57:26 -07:00 committed by Vincent Batts
parent 43d7414af7
commit 0aa1f2febd

View file

@ -221,7 +221,7 @@ case x${GRUB_TERMINAL_OUTPUT} in
;;
x*)
cat << EOF
terminal_output ${GRUB_TERMINAL_OUTPUT}
terminal_output --append ${GRUB_TERMINAL_OUTPUT}
EOF
;;
esac