diff --git a/modules.d/90crypt/module-setup.sh b/modules.d/90crypt/module-setup.sh index 639d9cdddc..fce898f8fa 100755 --- a/modules.d/90crypt/module-setup.sh +++ b/modules.d/90crypt/module-setup.sh @@ -24,6 +24,9 @@ depends() { if grep -q "tpm2-device=" "$dracutsysrootdir"/etc/crypttab; then deps+=" tpm2-tss" fi + if grep -q -e "fido2-device=" -e "fido2-cid=" "$dracutsysrootdir"/etc/crypttab; then + deps+=" fido2" + fi fi echo "$deps" return 0