From: Vitaly Kuznetsov on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3339#note_2100032437 I don't quite understand why, but ``` if dracut --list-modules | grep -q '^systemd-cryptsetup$'; then ... fi ``` doesn't work in dracut conf file (works as a normal shell script though...). A slightly more complicated ``` CSMODULE=`dracut --list-modules | grep '^systemd-cryptsetup$'` if [ ! -z "$CSMODULE" ]; then ... fi ``` does. Pushing this version instead... -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue