3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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