linux-initrd: Add LUKS/dm-crypt modules to the initrd.
authorLudovic Courtès <ludo@gnu.org>
Sun, 20 Sep 2015 20:02:02 +0000 (22:02 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 20 Sep 2015 20:05:50 +0000 (22:05 +0200)
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.

gnu/system/linux-initrd.scm

index 48b855b..519373f 100644 (file)
@@ -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
             '())