summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-09-20 22:02:02 +0200
committerLudovic Courtès <ludo@gnu.org>2015-09-20 22:05:50 +0200
commit07779d0addd5bc52d0bc2e06054a158c5c6abb4b (patch)
treeab7078e7be4a95ee18fb615aaea802bae913ce43
parentcc0e575a94a4e22a0bf2bf1b0c7b0514f1c1fbb5 (diff)
downloadguix-07779d0addd5bc52d0bc2e06054a158c5c6abb4b.tar.gz
linux-initrd: Add LUKS/dm-crypt modules to the initrd.
Suggested by Petter <petter@mykolab.ch>
and Mark H Weaver <mhw@netris.org>.

Partly fixes <http://bugs.gnu.org/19190>.

* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add dm-crypt
  and xts.
-rw-r--r--gnu/system/linux-initrd.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 48b855b567..519373fe34 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -182,6 +182,7 @@ loaded at boot time in the order in which they appear."
       "isci"                              ;for SAS controllers like Intel C602
       "usb-storage" "uas"                     ;for the installation image etc.
       "usbkbd" "usbhid"                       ;USB keyboards, for debugging
+      "dm-crypt" "xts"                        ;for encrypted root partitions
       ,@(if (or virtio? qemu-networking?)
             virtio-modules
             '())