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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to