From 3a250de79e18158a9d8d622f83f4f8ac84dc72b0 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Thu, 1 Oct 2020 14:55:34 +0200 Subject: [PATCH] Solved UUID bug --- scripts/image/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/image/setup.sh b/scripts/image/setup.sh index 6259b70..d47b24a 100644 --- a/scripts/image/setup.sh +++ b/scripts/image/setup.sh @@ -419,7 +419,7 @@ if [ "$encrypt_system" == "y" ] then # Adapted this instruction for setting up encrypted systems @see https://gist.github.com/gea0/4fc2be0cb7a74d0e7cc4322aed710d38 # The following variable is neccessary because of a bug @see https://bbs.archlinux.de/viewtopic.php?id=33554 - encrypted_partition_uuid=$(blkid | grep "$encrypted_partition_path" | sed -n 's/.*UUID=\"\([^\"]*\)\".*/\1/p') + encrypted_partition_uuid=$(blkid "$encrypted_partition_path" -s UUID -o value) rescue_suffix=".$(date +%s).rescue" mkinitcpio_path="/etc/mkinitcpio.conf" mkinitcpio_rescue_path="$mkinitcpio_path$rescue_suffix"