guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

47/80: installer: Turn off kernel ring messages to console.


From: John Darrington
Subject: 47/80: installer: Turn off kernel ring messages to console.
Date: Tue, 3 Jan 2017 15:49:44 +0000 (UTC)

jmd pushed a commit to branch wip-installer
in repository guix.

commit a608ef1ddfcb181880b9e389ec7334d4732d6ec5
Author: John Darrington <address@hidden>
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!)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]