[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: hurd: "/libexec/rc" spawns the console client.
From: |
guix-commits |
Subject: |
02/02: gnu: hurd: "/libexec/rc" spawns the console client. |
Date: |
Wed, 8 Apr 2020 09:36:36 -0400 (EDT) |
civodul pushed a commit to branch wip-hurd-vm
in repository guix.
commit 0e616dd6bffe4f396af80c814d6c6b4c6efbf7f5
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 ffbde2e..ab42032 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -340,7 +340,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?