cryptsetup: don't add unit dependency on /dev/null devices when it is listed as passw...
authorLennart Poettering <lennart@poettering.net>
Mon, 23 Jun 2014 17:18:44 +0000 (19:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 23 Jun 2014 17:18:44 +0000 (19:18 +0200)
commitbde29068aa3815c88190a91e9867605a0aeaf9c4
treeaf1e477045cafb1343ae05148050e1bc7e97bb73
parentd1d8e5d49f3149d03ceb94d1d2f6c14e7abccb6f
cryptsetup: don't add unit dependency on /dev/null devices when it is listed as password file

As special magic, don't create device dependencies for /dev/null. Of
course, there might be similar devices we might want to include, but
given that none of them really make sense to specify as password source
there's really no point in checking for anything else here.

https://bugs.freedesktop.org/show_bug.cgi?id=75816
src/cryptsetup/cryptsetup-generator.c