aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-27 09:03:02 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-27 10:24:34 +0100
commit6acef6811fffe20fb65b5e97b37c0feb0ab13c9b (patch)
treefa2af40cfb33b03e6eff77b7e286bc9b2500b36e
parent00239d05940dff7fc9b9e1875c56da243d9ecd9e (diff)
downloadguix-6acef6811fffe20fb65b5e97b37c0feb0ab13c9b.tar.gz
guix-6acef6811fffe20fb65b5e97b37c0feb0ab13c9b.zip
services: mingetty: Wait for udev.
* gnu/services/base.scm (mingetty-service): Add 'udev' to 'requirement'.
-rw-r--r--gnu/services/base.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 17dd0fb599..32eb9035d4 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -366,8 +366,9 @@ the ``message of the day''."
(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")