From 421789f04adafb721cb6cdc44bcb6bb3dc5c4cd5 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Sun, 4 Oct 2020 19:46:35 +0200 Subject: [PATCH] Solved bug --- scripts/image/base.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/image/base.sh b/scripts/image/base.sh index 7116b43..260fc78 100644 --- a/scripts/image/base.sh +++ b/scripts/image/base.sh @@ -47,6 +47,7 @@ make_working_folder(){ decrypt_root(){ if [ "$(blkid "$root_partition_path" -s TYPE -o value)" == "crypto_LUKS" ] then + root_partition_uuid=$(blkid "$root_partition_path" -s UUID -o value) && root_mapper_name="arch-root-$root_partition_uuid" && root_mapper_path="/dev/mapper/$root_mapper_name" && info "Decrypting of $root_partition_path is neccessary..." &&