install: Use udev rules for device-mapper.

Fixes <http://bugs.gnu.org/20791>.
Reported by Benz Schenk <benz.schenk@uzh.ch>.

* gnu/system/install.scm (installation-services): Add #:rules argument for
  'udev-service'.
This commit is contained in:
Ludovic Courtès 2015-06-12 19:28:14 +02:00
parent 1e44cf8b0f
commit e1ad6bfbe1

View file

@ -269,7 +269,8 @@ (define (normal-tty tty)
(guix-service #:authorize-hydra-key? #t)
;; Start udev so that useful device nodes are available.
(udev-service)
;; Use device-mapper rules for cryptsetup & co.
(udev-service #:rules (list lvm2))
;; Add the 'cow-store' service, which users have to start manually
;; since it takes the installation directory as an argument.