system: Support bare-bones serial console.
authorTobias Geerinckx-Rice <me@tobias.gr>
Sun, 23 Oct 2022 00:00:00 +0000 (02:00 +0200)
committerTobias Geerinckx-Rice <me@tobias.gr>
Sun, 23 Oct 2022 00:00:06 +0000 (02:00 +0200)
* gnu/system/examples/bare-bones.tmpl (operating-system):
Add a ttyS0 console to kernel-arguments.

gnu/system/examples/bare-bones.tmpl

index 387e4b1..687d4c1 100644 (file)
@@ -16,6 +16,9 @@
   (bootloader (bootloader-configuration
                 (bootloader grub-bootloader)
                 (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
                         (device (file-system-label "my-root"))
                         (mount-point "/")