diff options
author | xengineering <mail2xengineering@protonmail.com> | 2019-11-25 13:39:43 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2019-11-25 13:39:43 +0100 |
commit | d45d41ee0bd52b28226e69317bca1c284009b397 (patch) | |
tree | 8ccfb55c07adb593e42ad7e76e673480094f1e3a /bin/first_stage.sh | |
parent | 63d89031176687de9de41c7665d86cea64717c6e (diff) | |
download | archinstall-d45d41ee0bd52b28226e69317bca1c284009b397.tar archinstall-d45d41ee0bd52b28226e69317bca1c284009b397.tar.zst archinstall-d45d41ee0bd52b28226e69317bca1c284009b397.zip |
First version with desktop installation support.
Diffstat (limited to 'bin/first_stage.sh')
-rw-r--r-- | bin/first_stage.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/first_stage.sh b/bin/first_stage.sh index a3a3240..5981cd9 100644 --- a/bin/first_stage.sh +++ b/bin/first_stage.sh @@ -34,9 +34,9 @@ CONFIG_FILE_PATH=$4 mkdir $(dirname "$CONFIG_FILE_PATH") touch $CONFIG_FILE_PATH python $2/bin/write_config.py $CONFIG_FILE_PATH -disk=$(python $2/bin/get_config_string.py $CONFIG_FILE_PATH "disk") +disk=$(python $REPOSITORY_PATH/bin/get_config_string.py $CONFIG_FILE_PATH "disk") disk_path=/dev/$disk -hostname=$(python $2/bin/get_config_string.py $CONFIG_FILE_PATH "hostname") +hostname=$(python $REPOSITORY_PATH/bin/get_config_string.py $CONFIG_FILE_PATH "hostname") echo "All data on disk '$disk' will be finally lost!" @@ -137,7 +137,7 @@ echo "" # Launch second stage in chroot echo "bash $REPOSITORY_PATH/bin/second_stage.sh $hostname \ -${disk_path}1 $REPOSITORY_PATH" | arch-chroot /mnt +${disk_path}1 $REPOSITORY_PATH $CONFIG_FILE_PATH" | arch-chroot /mnt # Copy log and config from live image to root partition |