Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-08 13:40:52 +0200
committerErich Eckner <git@eckner.net>2018-09-08 13:40:52 +0200
commitfbbb282fd5eb26b2c6f66c24e62ab98625ae3c3a (patch)
tree14621ebec07897e9cac36b4a28d63ec3df2360d3
parent7ce25b7eb99c8e2fa536d2842f012ebba4f40b55 (diff)
new lock-file status.lock
-rwxr-xr-xconf/master.conf.example3
-rwxr-xr-xlib/load-configuration8
2 files changed, 8 insertions, 3 deletions
diff --git a/conf/master.conf.example b/conf/master.conf.example
index 2eafb88..1623307 100755
--- a/conf/master.conf.example
+++ b/conf/master.conf.example
@@ -35,8 +35,9 @@
#mysql_command='mysql buildmaster'
#build_list_lock_file="${work_dir}/build-list.lock"
-#sanity_check_lock_file="${work_dir}/sanity-check.lock"
#package_database_lock_file="${work_dir}/package-database.lock"
+#sanity_check_lock_file="${work_dir}/sanity-check.lock"
+#status_lock_file="${work_dir}/status.lock"
# how long should packages be in [community-testing]/[testing] before
# automatically being marked as tested
diff --git a/lib/load-configuration b/lib/load-configuration
index 6a94976..0100bd9 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -136,12 +136,16 @@ if [ -z "${build_list_lock_file}" ]; then
build_list_lock_file="${work_dir}/build-list.lock"
fi
+if [ -z "${package_database_lock_file}" ]; then
+ package_database_lock_file="${work_dir}/package-database.lock"
+fi
+
if [ -z "${sanity_check_lock_file}" ]; then
sanity_check_lock_file="${work_dir}/sanity-check.lock"
fi
-if [ -z "${package_database_lock_file}" ]; then
- package_database_lock_file="${work_dir}/package-database.lock"
+if [ -z "${status_lock_file}" ]; then
+ status_lock_file="${work_dir}/status.lock"
fi
mkdir -p "${work_dir}"