udev dropped vol_id, replace with blkid

udev no longer ships a vol_id binary saying that blkid should be
used instead.  *sigh*
This commit is contained in:
Jeremy Katz 2009-06-17 11:38:35 -04:00
parent 6a020e014f
commit 571bfc2320
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ mountPersistentHome() {
fi
# if it's encrypted, we need to unlock it
if [ "\$(/lib/udev/vol_id -t \$homedev 2>/dev/null)" = "crypto_LUKS" ]; then
if [ "\$(/sbin/blkid -s TYPE -o value \$homedev 2>/dev/null)" = "crypto_LUKS" ]; then
echo
echo "Setting up encrypted /home device"
plymouth ask-for-password --command="cryptsetup luksOpen \$homedev EncHome"