diff options
author | xengineering <mail2xengineering@protonmail.com> | 2019-11-12 21:10:56 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2019-11-12 21:10:56 +0100 |
commit | ee7d6a9b629b9bd673ff334eb0066eb895ce439e (patch) | |
tree | 63617bf3e36308610d1927eba94b42221d704f25 /bin/first_stage.sh | |
parent | b29128ec2d73ac23fe7bddd7d34b061e4a1df25a (diff) | |
download | archinstall-ee7d6a9b629b9bd673ff334eb0066eb895ce439e.tar archinstall-ee7d6a9b629b9bd673ff334eb0066eb895ce439e.tar.zst archinstall-ee7d6a9b629b9bd673ff334eb0066eb895ce439e.zip |
Fixed bug related to hard-coded repository path.
Diffstat (limited to 'bin/first_stage.sh')
-rw-r--r-- | bin/first_stage.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/first_stage.sh b/bin/first_stage.sh index 4db34fa..15db09c 100644 --- a/bin/first_stage.sh +++ b/bin/first_stage.sh @@ -154,6 +154,11 @@ sleep $DELAY echo "" +# Copy repository from live image to root partition + +cp -r $REPOSITORY_PATH /mnt$REPOSITORY_PATH + + # Install basic Packages echo "Going to install basic packages ..." @@ -176,12 +181,11 @@ echo "" # Launch second stage in chroot -echo "bash /opt/archinstall.git/bin/second_stage.sh $hostname ${disk_path}1" | arch-chroot /mnt +echo "bash $REPOSITORY_PATH/bin/second_stage.sh $hostname ${disk_path}1 $REPOSITORY_PATH" | arch-chroot /mnt -# Copy files from live image to root partition +# Copy log from live image to root partition -cp -r $REPOSITORY_PATH /mnt$REPOSITORY_PATH cp $LOG_FILE_PATH /mnt$LOG_FILE_PATH |