Keep the native terminal active when enabling gfxterm
authordann frazier <dann.frazier@canonical.com>
Thu, 18 Jan 2018 18:57:26 +0000 (11:57 -0700)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 29 Jan 2018 11:51:03 +0000 (12:51 +0100)
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>
util/grub.d/00_header.in

index 93a9023..8d46fc9 100644 (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