jmd pushed a commit to branch wip-installer
in repository guix.
commit a608ef1ddfcb181880b9e389ec7334d4732d6ec5
Author: John Darrington <[email protected]>
Date: Tue Dec 27 17:27:26 2016 +0100
installer: Turn off kernel ring messages to console.
* gnu/system/installer/new.scm: Add call to "dmesg --console-off"
---
gnu/system/installer/new.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/system/installer/new.scm b/gnu/system/installer/new.scm
index 1a2cf74..a1e6275 100644
--- a/gnu/system/installer/new.scm
+++ b/gnu/system/installer/new.scm
@@ -230,7 +230,13 @@
(define-public (guixsd-installer)
+
(define stdscr (initscr)) ; Start curses
+
+ ;; We don't want any nasty kernel messages damaging our beautifully
+ ;; crafted display.
+ (system* "dmesg" "--console-off")
+
(cbreak!) ; Line buffering disabled
(keypad! stdscr #t) ; Check for function keys
(noecho!)