diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-03-22 14:35:21 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-03-22 14:35:21 +0100 |
commit | 7ded855129bb3937f3059c1c9a0c46c931d8e6c3 (patch) | |
tree | 2fc60848bed9b3884cac69b4275e2104b9af22aa | |
parent | 229cb9d493b474352c4928f48eaa0a2809d27f76 (diff) | |
download | archinstall-7ded855129bb3937f3059c1c9a0c46c931d8e6c3.tar archinstall-7ded855129bb3937f3059c1c9a0c46c931d8e6c3.tar.zst archinstall-7ded855129bb3937f3059c1c9a0c46c931d8e6c3.zip |
Bugfix for awk finding the crypto UUID
-rw-r--r-- | stages/second_stage.sh | 2 |
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" |