fixes
This commit is contained in:
parent
132f9ff3c8
commit
973f377295
@ -45,7 +45,6 @@ then
|
||||
else
|
||||
echo "luks_none"
|
||||
fi
|
||||
else
|
||||
elif [[ $1 == "encrypt-name" ]]
|
||||
then
|
||||
if blkid -o value -s TYPE $(lsblk -sJp | jq -r --arg dsk "$(df -P -h -T "$2" | awk 'END{print $1}')" '.blockdevices | .[] | select(.name == $dsk) | .children | .[0] | .name') | grep -i luks > /dev/null 2>&1
|
||||
|
@ -213,7 +213,7 @@ if root_uuid != home_uuid:
|
||||
with open(CHROOT_CRYPTTAB_FILE_PATH, "w") as file:
|
||||
albius_crypttab_file = _CRYPTTAB_SETUP_FILE.format(
|
||||
HOME_PART_UUID=home_uuid_encrypt,
|
||||
ROOT_ENCRYPT_NAME=home_name_encrypt,
|
||||
HOME_ENCRYPT_NAME=home_name_encrypt,
|
||||
LUKS_PASSWD=home_passwd,
|
||||
)
|
||||
file.write(albius_crypttab_file)
|
||||
|
Loading…
Reference in New Issue
Block a user