]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
crypt-loop: Always include 'loop' kernel module 45/head
authorJames Lee <jlee@thestaticvoid.com>
Thu, 26 Mar 2015 06:17:34 +0000 (02:17 -0400)
committerJames Lee <jlee@thestaticvoid.com>
Thu, 26 Mar 2015 06:17:34 +0000 (02:17 -0400)
When the 'loop' kernel module isn't loaded in a running system, it gets
excluded from the hostonly initrd.  Given that the crypt-loop dracut
module has to be loaded explicitly anyway, it makes sense to always
include the requisite loop kernel module.

modules.d/91crypt-loop/module-setup.sh

index ed2cdea1bc0f198136bee0bcf1bb459e94113478..ff0d5019ec919c586e553bc499104945128ff381 100755 (executable)
@@ -14,7 +14,7 @@ depends() {
 
 # called by dracut
 installkernel() {
-    instmods loop
+    hostonly='' instmods loop
 }
 
 # called by dracut