services: mingetty: Wait for udev.

* gnu/services/base.scm (mingetty-service): Add 'udev' to
  'requirement'.
This commit is contained in:
Ludovic Courtès 2015-01-27 09:03:02 +01:00
parent 00239d0594
commit 6acef6811f

View file

@ -366,8 +366,9 @@ (define* (mingetty-service tty
(provision (list (symbol-append 'term- (string->symbol tty))))
;; Since the login prompt shows the host name, wait for the 'host-name'
;; service to be done.
(requirement '(user-processes host-name))
;; service to be done. Also wait for udev essentially so that the tty
;; text is not lost in the middle of kernel messages (XXX).
(requirement '(user-processes host-name udev))
(start #~(make-forkexec-constructor
(list (string-append #$mingetty "/sbin/mingetty")