summaryrefslogtreecommitdiff
path: root/stages/first_stage.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-22 15:20:25 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-22 15:20:25 +0100
commitb26983b4e967957f5ecc32d75663a723f97c2588 (patch)
tree2d22243e42ccd8c13696a9aae50d62a5911d90e2 /stages/first_stage.sh
parent36bb8d372ab57d68dae365619bf20cf89a612021 (diff)
downloadarchinstall-b26983b4e967957f5ecc32d75663a723f97c2588.tar
archinstall-b26983b4e967957f5ecc32d75663a723f97c2588.tar.zst
archinstall-b26983b4e967957f5ecc32d75663a723f97c2588.zip
Reimplemented some modules for luks encryption.
Diffstat (limited to 'stages/first_stage.sh')
-rw-r--r--stages/first_stage.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/stages/first_stage.sh b/stages/first_stage.sh
index b268353..9520894 100644
--- a/stages/first_stage.sh
+++ b/stages/first_stage.sh
@@ -55,13 +55,17 @@ if [ $system_encryption == "yes" ];then
bash setup_lvm.sh
- export main_partition_path="/dev/SystemVolumeGroup/root"
+ export root_partition_path="/dev/SystemVolumeGroup/root"
+
+else
+
+ export root_partition_path=$main_partition_path
fi
-bash create_filesystems.sh $efi_partition_path $main_partition_path
+bash create_filesystems.sh $efi_partition_path $boot_partition_path $root_partition_path
-bash mount_filesystems.sh $main_partition_path
+bash mount_filesystems.sh $boot_partition_path $root_partition_path
bash install_packages.sh $desktop
@@ -73,6 +77,6 @@ echo "bash second_stage.sh" | arch-chroot /mnt
bash copy_archinstall_log.sh $LOG_FILE_PATH
-bash unmount_filesystems.sh $main_partition_path
+bash unmount_filesystems.sh $boot_partition_path $root_partition_path
bash print_final_message.sh $DEFAULT_PASSWORD