forked from srbala/fedora-kickstarts
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:
parent
6a020e014f
commit
571bfc2320
@ -161,7 +161,7 @@ mountPersistentHome() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# if it's encrypted, we need to unlock it
|
# 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
|
||||||
echo "Setting up encrypted /home device"
|
echo "Setting up encrypted /home device"
|
||||||
plymouth ask-for-password --command="cryptsetup luksOpen \$homedev EncHome"
|
plymouth ask-for-password --command="cryptsetup luksOpen \$homedev EncHome"
|
||||||
|
Loading…
Reference in New Issue
Block a user