summaryrefslogtreecommitdiff
path: root/bin/second_stage.sh
diff options
context:
space:
mode:
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