From fbbb282fd5eb26b2c6f66c24e62ab98625ae3c3a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 8 Sep 2018 13:40:52 +0200 Subject: new lock-file status.lock --- conf/master.conf.example | 3 ++- lib/load-configuration | 8 ++++++-- 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}" -- cgit v1.2.3