752ceb1
From 52ef7b23f528ce844716661d586497a177e80d5b Mon Sep 17 00:00:00 2001
752ceb1
From: dann frazier <dann.frazier@canonical.com>
752ceb1
Date: Thu, 18 Jan 2018 11:57:26 -0700
752ceb1
Subject: [PATCH] Keep the native terminal active when enabling gfxterm
752ceb1
752ceb1
grub-mkconfig will set GRUB_TERMINAL_OUTPUT to "gfxterm" unless the user
752ceb1
has overridden it. On EFI systems, this will stop output from going to the
752ceb1
default "console" terminal. When the EFI fw console is configured to output to
752ceb1
both serial and video, this will cause GRUB to only display on video - while
752ceb1
continuing to accept input from both video and serial.
752ceb1
752ceb1
Instead of switching from "console" to "gfxterm", let's output to both.
752ceb1
752ceb1
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
752ceb1
---
752ceb1
 util/grub.d/00_header.in | 2 +-
752ceb1
 1 file changed, 1 insertion(+), 1 deletion(-)
752ceb1
752ceb1
diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
752ceb1
index 93a90233ead..8d46fc973c1 100644
752ceb1
--- a/util/grub.d/00_header.in
752ceb1
+++ b/util/grub.d/00_header.in
752ceb1
@@ -221,7 +221,7 @@ case x${GRUB_TERMINAL_OUTPUT} in
752ceb1
   ;;
752ceb1
   x*)
752ceb1
     cat << EOF
752ceb1
-terminal_output ${GRUB_TERMINAL_OUTPUT}
752ceb1
+terminal_output --append ${GRUB_TERMINAL_OUTPUT}
752ceb1
 EOF
752ceb1
   ;;
752ceb1
 esac