From b26983b4e967957f5ecc32d75663a723f97c2588 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 22 Dec 2019 15:20:25 +0100 Subject: Reimplemented some modules for luks encryption. --- stages/first_stage.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'stages/first_stage.sh') 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 -- cgit v1.2.3-70-g09d2