mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-28 23:22:58 +00:00
nixos/testing: Fix tty output
Prior to this contribution, the Kernel's frame buffer output boot log wasn't visible on the graphical console. Now, we can also test applications with graphical output that run during the boot process.
This commit is contained in:
parent
4a6b93893c
commit
6aba98aefd
@ -162,6 +162,7 @@ in
|
||||
|
||||
boot.kernelParams = [
|
||||
"console=${qemu-common.qemuSerialDevice}"
|
||||
"console=tty0"
|
||||
# Panic if an error occurs in stage 1 (rather than waiting for
|
||||
# user intervention).
|
||||
"panic=1" "boot.panic_on_fail"
|
||||
@ -180,6 +181,7 @@ in
|
||||
services.journald.extraConfig =
|
||||
''
|
||||
ForwardToConsole=yes
|
||||
TTYPath=/dev/${qemu-common.qemuSerialDevice}
|
||||
MaxLevelConsole=debug
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user