summaryrefslogtreecommitdiff
path: root/stages
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-22 11:45:58 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-22 11:45:58 +0100
commit0c9661f2d98f9464cc5d19eb5fac5cdc9fdc226b (patch)
treec1143f706078b6ddc120b67580eb141183d87223 /stages
parent607b0d56bab9b8babdffbdca21a82c7394a2db22 (diff)
downloadarchinstall-0c9661f2d98f9464cc5d19eb5fac5cdc9fdc226b.tar
archinstall-0c9661f2d98f9464cc5d19eb5fac5cdc9fdc226b.tar.zst
archinstall-0c9661f2d98f9464cc5d19eb5fac5cdc9fdc226b.zip
format_crypto_partition.sh working.
Diffstat (limited to 'stages')
-rw-r--r--stages/first_stage.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/stages/first_stage.sh b/stages/first_stage.sh
index cb1503a..ba0590a 100644
--- a/stages/first_stage.sh
+++ b/stages/first_stage.sh
@@ -33,7 +33,8 @@ python $REPOSITORY_PATH/util/write_config.py $CONFIG_FILE_PATH
export disk=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "disk")
export disk_path=/dev/$disk
export efi_partition_path="${disk_path}1"
-export main_partition_path="${disk_path}2"
+export boot_partition_path="${disk_path}2"
+export main_partition_path="${disk_path}3"
export hostname=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "hostname")
export desktop=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "desktop")
export admin_username=$(python $REPOSITORY_PATH/util/read_config_string.py $CONFIG_FILE_PATH "admin_username")
@@ -48,7 +49,9 @@ bash partition_disk.sh $disk_path
if [ $system_encryption == "yes" ];then
- bash create_crypto_partition.sh $main_partition_path
+ bash format_crypto_partition.sh $main_partition_path $DEFAULT_PASSWORD
+
+ bash open_crypto_partition.sh
bash create_logical_volumes.sh