[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: installer: Turn dmesg off before calling initscr.
From: |
Danny Milosavljevic |
Subject: |
02/03: installer: Turn dmesg off before calling initscr. |
Date: |
Wed, 5 Jul 2017 05:08:53 -0400 (EDT) |
dannym pushed a commit to branch wip-installer-2
in repository guix.
commit 5b55bb5c4e9e7ab190560e26a6d5907f63f8ef70
Author: Danny Milosavljevic <address@hidden>
Date: Wed Jul 5 11:04:02 2017 +0200
installer: Turn dmesg off before calling initscr.
* gnu/system/installer/guixsd-installer.scm (guixsd-installer): Modify.
---
gnu/system/installer/guixsd-installer.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/system/installer/guixsd-installer.scm
b/gnu/system/installer/guixsd-installer.scm
index 8ad9a05..a00a6ae 100644
--- a/gnu/system/installer/guixsd-installer.scm
+++ b/gnu/system/installer/guixsd-installer.scm
@@ -287,12 +287,11 @@
(let ((enc (locale-encoding)))
(when (not (equal? enc "UTF-8"))
(setlocale LC_ALL "en_US.utf8"))
+ ;; We don't want any nasty kernel messages damaging our beautifully
+ ;; crafted display.
+ (system* "dmesg" "--console-off")
(initscr)))
- ;; We don't want any nasty kernel messages damaging our beautifully
- ;; crafted display.
- (system* "dmesg" "--console-off")
-
;; Set up mouse
(mousemask (logior BUTTON1_CLICKED BUTTON1_PRESSED BUTTON1_RELEASED))