summaryrefslogtreecommitdiff
path: root/archinstall.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-15 11:39:20 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-15 11:39:20 +0100
commit2a64f2483771ede6310b18a94e7301618d8dc4f7 (patch)
treea9ba6c6988b6e079752ba6ba48bae6c93cccc788 /archinstall.sh
parenta5eb7e67ca1ea36c3c6ea6dc7c86c2703fe70620 (diff)
downloadarchinstall-2a64f2483771ede6310b18a94e7301618d8dc4f7.tar
archinstall-2a64f2483771ede6310b18a94e7301618d8dc4f7.tar.zst
archinstall-2a64f2483771ede6310b18a94e7301618d8dc4f7.zip
Started change to new stages/util concept.
Diffstat (limited to 'archinstall.sh')
-rw-r--r--archinstall.sh24
1 files changed, 17 insertions, 7 deletions
diff --git a/archinstall.sh b/archinstall.sh
index 50444ca..b7d9f28 100644
--- a/archinstall.sh
+++ b/archinstall.sh
@@ -32,11 +32,19 @@
TESTSERVER="8.8.8.8" # hostnames will not work properly
NETWORK_DEADLINE=1 # in seconds
-REPOSITORY_URL="https://github.com/xengineering/archinstall/"
-REPOSITORY_PATH="/opt/archinstall"
-BRANCH_OR_COMMIT="master" # select another branch name or commit hash if needed
-LOG_FILE_PATH="/var/log/archinstall.log"
-CONFIG_FILE_PATH="/etc/archinstall/config.json"
+export REPOSITORY_URL="https://github.com/xengineering/archinstall/"
+export REPOSITORY_PATH="/opt/archinstall"
+export BRANCH_OR_COMMIT="master" # select another branch name or commit hash if needed
+export LOG_FILE_PATH="/var/log/archinstall.log"
+export CONFIG_FILE_PATH="/etc/archinstall/config.json"
+
+# PATH expansion
+
+export PATH=$PATH:$(REPOSITORY_PATH)/stages
+export PATH=$PATH:$(REPOSITORY_PATH)/util
+echo "New PATH:"
+echo $PATH
+echo ""
# Greetings
@@ -99,5 +107,7 @@ echo ""
# Launching first stage
-bash $REPOSITORY_PATH/bin/first_stage.sh \
-$DELAY $REPOSITORY_PATH $LOG_FILE_PATH $CONFIG_FILE_PATH | tee -a $LOG_FILE_PATH
+#bash $REPOSITORY_PATH/bin/first_stage.sh \
+#$REPOSITORY_PATH $LOG_FILE_PATH $CONFIG_FILE_PATH | tee -a $LOG_FILE_PATH
+
+bash first_stage.sh | tee -a $LOG_FILE_PATH