Used uuid

This commit is contained in:
Kevin Veen-Birkenbach 2020-10-01 20:36:56 +02:00
parent a847683e21
commit 70008901f3

View File

@ -429,7 +429,7 @@ if [ "$encrypt_system" == "y" ]
#Concerning mkinitcpio warning @see https://gist.github.com/imrvelj/c65cd5ca7f5505a65e59204f5a3f7a6d #Concerning mkinitcpio warning @see https://gist.github.com/imrvelj/c65cd5ca7f5505a65e59204f5a3f7a6d
echo "mkinitcpio -P &&" echo "mkinitcpio -P &&"
echo "cp -v $fstab_path $fstab_rescue_path &&" echo "cp -v $fstab_path $fstab_rescue_path &&"
echo "echo '$root_mapper_path / ext4 defaults,noatime 0 1' >> $fstab_path &&" echo "echo 'UUID=$encrypted_partition_uuid / ext4 defaults,noatime 0 1' >> $fstab_path &&"
echo "echo \"Content of $fstab_path:\$(cat \"$fstab_path\")\" &&" echo "echo \"Content of $fstab_path:\$(cat \"$fstab_path\")\" &&"
echo "cp -v $crypttab_path $crypttab_rescue_path &&" echo "cp -v $crypttab_path $crypttab_rescue_path &&"
echo "echo 'root UUID=$encrypted_partition_uuid none luks' >> $crypttab_path &&" echo "echo 'root UUID=$encrypted_partition_uuid none luks' >> $crypttab_path &&"