mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
system: Support bare-bones serial console.
* gnu/system/examples/bare-bones.tmpl (operating-system): Add a ttyS0 console to kernel-arguments.
This commit is contained in:
parent
68f4b7a158
commit
19f3dbcb4d
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@
|
||||||
(bootloader (bootloader-configuration
|
(bootloader (bootloader-configuration
|
||||||
(bootloader grub-bootloader)
|
(bootloader grub-bootloader)
|
||||||
(targets '("/dev/sdX"))))
|
(targets '("/dev/sdX"))))
|
||||||
|
;; It's fitting to support the equally bare bones ‘-nographic’
|
||||||
|
;; QEMU option, which also nicely sidesteps forcing QWERTY.
|
||||||
|
(kernel-arguments (list "console=ttyS0,115200"))
|
||||||
(file-systems (cons (file-system
|
(file-systems (cons (file-system
|
||||||
(device (file-system-label "my-root"))
|
(device (file-system-label "my-root"))
|
||||||
(mount-point "/")
|
(mount-point "/")
|
||||||
|
|
Loading…
Reference in a new issue