guix-commits
[Top][All Lists]
Advanced

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

43/52: gnu: hurd: "/libexec/rc" spawns the console client.


From: guix-commits
Subject: 43/52: gnu: hurd: "/libexec/rc" spawns the console client.
Date: Thu, 9 Apr 2020 13:29:13 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit ee7e104ae947352a21fdd784cdc859c93fb8aea2
Author: Ludovic Courtès <address@hidden>
AuthorDate: Wed Apr 8 15:35:58 2020 +0200

    gnu: hurd: "/libexec/rc" spawns the console client.
    
    * gnu/packages/hurd.scm (hurd-rc-script): Start the console client.
---
 gnu/packages/hurd.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index f7c0637..90e39a2 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -341,7 +341,12 @@ boot, since this cannot be done from GNU/Linux."
                        (unless (translated? node)
                          (mkdir-p (dirname node))
                          (apply invoke "settrans" "-c" node command))))
-                    '#$translators))))
+                    '#$translators)
+
+          ;; Start the oh-so-fancy console client.
+          (mkdir-p "/var/run")                    ;for the PID file
+          (invoke "console" "--daemonize" "-c" "/dev/vcs"
+                  "-d" "vga" "-d" "pc_kbd" "-d" "generic_speaker"))))
 
   ;; FIXME: We want the program to use the cross-compiled Guile when
   ;; cross-compiling.  But why do we need to be explicit here?



reply via email to

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