diff --git a/pikainstall/usr/lib/pika/pikainstall/partition-helper.sh b/pikainstall/usr/lib/pika/pikainstall/partition-helper.sh index 9b786b9..e44e809 100755 --- a/pikainstall/usr/lib/pika/pikainstall/partition-helper.sh +++ b/pikainstall/usr/lib/pika/pikainstall/partition-helper.sh @@ -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 diff --git a/pikainstall/usr/lib/pika/pikainstall/pikainstall b/pikainstall/usr/lib/pika/pikainstall/pikainstall index f88b8ca..1b1ac69 100755 --- a/pikainstall/usr/lib/pika/pikainstall/pikainstall +++ b/pikainstall/usr/lib/pika/pikainstall/pikainstall @@ -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)