summaryrefslogtreecommitdiff
path: root/stages/second_stage.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-03-22 14:35:21 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-03-22 14:35:21 +0100
commit7ded855129bb3937f3059c1c9a0c46c931d8e6c3 (patch)
tree2fc60848bed9b3884cac69b4275e2104b9af22aa /stages/second_stage.sh
parent229cb9d493b474352c4928f48eaa0a2809d27f76 (diff)
downloadarchinstall-7ded855129bb3937f3059c1c9a0c46c931d8e6c3.tar
archinstall-7ded855129bb3937f3059c1c9a0c46c931d8e6c3.tar.zst
archinstall-7ded855129bb3937f3059c1c9a0c46c931d8e6c3.zip
Bugfix for awk finding the crypto UUID
Diffstat (limited to 'stages/second_stage.sh')
-rw-r--r--stages/second_stage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/stages/second_stage.sh b/stages/second_stage.sh
index af7ff8a..6c606c7 100644
--- a/stages/second_stage.sh
+++ b/stages/second_stage.sh
@@ -101,7 +101,7 @@ if [ $luks_encryption == "yes" ];then
crypto_partition="${path_to_disk}2"
fi
- cryptdevice_uuid=$(lsblk --fs | grep "$(basename $crypto_partition)" | awk '{print $3}')
+ cryptdevice_uuid=$(lsblk --fs | grep "$(basename $crypto_partition)" | awk '{print $4}')
print_ok "cryptdevice_uuid: $cryptdevice_uuid"
old_kernel_param_line=$(cat /etc/default/grub | grep "GRUB_CMDLINE_LINUX_DEFAULT")
print_ok "old_kernel_param_line: $old_kernel_param_line"