summaryrefslogtreecommitdiff
path: root/gnu/system/examples
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-10-23 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-10-23 02:00:06 +0200
commit19f3dbcb4d4261b6d3813d36174b8ca6ac52d2ea (patch)
tree830043b835d4751ee6b3b5216f9089bf5fd9195d /gnu/system/examples
parent68f4b7a1585f71ccb1809cf808ad759f744438f3 (diff)
system: Support bare-bones serial console.
* gnu/system/examples/bare-bones.tmpl (operating-system): Add a ttyS0 console to kernel-arguments.
Diffstat (limited to 'gnu/system/examples')
-rw-r--r--gnu/system/examples/bare-bones.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/system/examples/bare-bones.tmpl b/gnu/system/examples/bare-bones.tmpl
index 387e4b12baf..687d4c15730 100644
--- a/gnu/system/examples/bare-bones.tmpl
+++ b/gnu/system/examples/bare-bones.tmpl
@@ -16,6 +16,9 @@
16 (bootloader (bootloader-configuration 16 (bootloader (bootloader-configuration
17 (bootloader grub-bootloader) 17 (bootloader grub-bootloader)
18 (targets '("/dev/sdX")))) 18 (targets '("/dev/sdX"))))
19 ;; It's fitting to support the equally bare bones ‘-nographic’
20 ;; QEMU option, which also nicely sidesteps forcing QWERTY.
21 (kernel-arguments (list "console=ttyS0,115200"))
19 (file-systems (cons (file-system 22 (file-systems (cons (file-system
20 (device (file-system-label "my-root")) 23 (device (file-system-label "my-root"))
21 (mount-point "/") 24 (mount-point "/")