summaryrefslogtreecommitdiff
path: root/bin/second_stage.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-11-12 21:10:56 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-11-12 21:10:56 +0100
commitee7d6a9b629b9bd673ff334eb0066eb895ce439e (patch)
tree63617bf3e36308610d1927eba94b42221d704f25 /bin/second_stage.sh
parentb29128ec2d73ac23fe7bddd7d34b061e4a1df25a (diff)
downloadarchinstall-ee7d6a9b629b9bd673ff334eb0066eb895ce439e.tar
archinstall-ee7d6a9b629b9bd673ff334eb0066eb895ce439e.tar.zst
archinstall-ee7d6a9b629b9bd673ff334eb0066eb895ce439e.zip
Fixed bug related to hard-coded repository path.
Diffstat (limited to 'bin/second_stage.sh')
-rw-r--r--bin/second_stage.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/second_stage.sh b/bin/second_stage.sh
index 38b6482..f3353d3 100644
--- a/bin/second_stage.sh
+++ b/bin/second_stage.sh
@@ -27,18 +27,19 @@
hostname=$1
boot_partition_path=$2
+REPOSITORY_PATH=$3
echo "hostname: $hostname"
echo "boot_partition_path: $boot_partition_path"
# Localization
-bash /opt/archinstall.git/bin/localization.sh
+bash $REPOSITORY_PATH/bin/localization.sh
# Network Configuration
-bash /opt/archinstall.git/bin/network_configuration.sh $hostname
+bash $REPOSITORY_PATH/bin/network_configuration.sh $hostname
# Initramfs
@@ -56,4 +57,4 @@ sleep 1
# Bootloader Installation
-bash /opt/archinstall.git/bin/install_bootloader.sh $boot_partition_path
+bash $REPOSITORY_PATH/bin/install_bootloader.sh $boot_partition_path