guix-commits
[Top][All Lists]
Advanced

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

40/197: installer: Turn off kernel ring messages to console.


From: Danny Milosavljevic
Subject: 40/197: installer: Turn off kernel ring messages to console.
Date: Mon, 3 Jul 2017 20:36:57 -0400 (EDT)

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

commit 074bdfb1b42989ad09dc7eb52f89fe3f2069e664
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]