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

* gnu/packages/hurd.scm (hurd-rc-script): Start the console client.
This commit is contained in:
Ludovic Courtès 2020-04-08 15:35:58 +02:00
parent da987ece8f
commit df0010a9dc
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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?