]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
revert(crypt): include systemd-cryptsetup module when needed
authorJo Zzsi <jozzsicsataban@gmail.com>
Wed, 28 Aug 2024 13:52:46 +0000 (09:52 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Thu, 29 Aug 2024 13:05:46 +0000 (09:05 -0400)
modules.d/90crypt/module-setup.sh

index d441420cdb2200381503f606f8125c9062046fe5..84d61d74cf129ff1cbd971c58bbd0d21b5c9ce7f 100755 (executable)
@@ -18,15 +18,7 @@ check() {
 
 # called by dracut
 depends() {
-    local deps
-    deps="dm rootfs-block"
-
-    if dracut_module_included "systemd"; then
-        deps+=" systemd-cryptsetup"
-    fi
-
-    echo "$deps"
-    return 0
+    echo dm rootfs-block
 }
 
 # called by dracut