summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-12 19:28:14 +0200
committerLudovic Courtès <ludo@gnu.org>2015-06-12 19:29:52 +0200
commite1ad6bfbe187dc38560642edb31452105d3182a4 (patch)
tree5d33570fde4b7d788e749a84f883f2c9bf0b074d
parent1e44cf8b0ffe88f2675718c0a0f5119c87a8bf6a (diff)
downloadguix-e1ad6bfbe187dc38560642edb31452105d3182a4.tar.gz
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'.
-rw-r--r--gnu/system/install.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 27d8ecdefc..e8a36b3def 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -269,7 +269,8 @@ You have been warned.  Thanks for being so brave.
           (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.