From ee7d6a9b629b9bd673ff334eb0066eb895ce439e Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 12 Nov 2019 21:10:56 +0100 Subject: Fixed bug related to hard-coded repository path. --- bin/second_stage.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/second_stage.sh') 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 -- cgit v1.2.3-70-g09d2