From df0010a9dc18937ba481393f9d153a476dac13c0 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 8 Apr 2020 15:35:58 +0200 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index f7c0637f40..90e39a279b 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -341,7 +341,12 @@ (define (translated? node) (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? -- cgit v1.2.3