Skip to contentSkip to conversation

Keep the native terminal active when enabling gfxterm

PATCH Applied dann frazier 2 participants 3 messages Jan 18, 2018 – Jan 29, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 util/grub.d/00_header.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub.d/00_header.in +1 -1
index 93a90233e..8d46fc973 100644
@@ -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
Signature · 1 line
2.15.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · dann frazier

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.

If there are no objections I will apply this next week.

Daniel

Applied
#2 lore raw
Quoted 7 lines · Daniel Kiper
Quoted 6 lines · dann frazier

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.

Quoted 5 lines
Quoted 1 line

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

If there are no objections I will apply this next week.

Applied!

Thanks,

Daniel