1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-25 08:33:09 +00:00

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

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"