summaryrefslogtreecommitdiff
path: root/lib/load-configuration
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-30 11:10:15 +0200
committerErich Eckner <git@eckner.net>2018-05-30 11:10:15 +0200
commite81196e242a3de0c3b9c4394c7aedbb84bdc87b6 (patch)
treeb5b864aea62545eecad9aced529c25b69159f4d1 /lib/load-configuration
parent7b82381437c360687423a32beb7dcd6812b06ad9 (diff)
downloadbuilder-e81196e242a3de0c3b9c4394c7aedbb84bdc87b6.tar.xz
repo_names and repo_paths__* is read from the database on the buildmaster, now
Diffstat (limited to 'lib/load-configuration')
-rwxr-xr-xlib/load-configuration12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index 5a1fd84..01c27b5 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -28,14 +28,12 @@ if pgrep -x mysqld >/dev/null 2>&1; then
. "${base_dir}/lib/mysql-functions"
else
i_am_the_master=false
-fi
-# TODO: some of this should be read from the database instead
-# (in mysql_retrieve_static_information)
-repo_names='packages community archlinux32'
-repo_paths__packages="${work_dir}/repos/packages"
-repo_paths__community="${work_dir}/repos/community"
-repo_paths__archlinux32="${work_dir}/repos/packages32"
+ repo_names='packages community archlinux32'
+ repo_paths__packages="${work_dir}/repos/packages"
+ repo_paths__community="${work_dir}/repos/community"
+ repo_paths__archlinux32="${work_dir}/repos/packages32"
+fi
master_build_server="buildmaster.archlinux32.org"
master_build_server_port="22"