mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 05:35:26 +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:
parent
6a020e014f
commit
571bfc2320
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user