From 5278e779cb60cfef20aa8be36e3b0d5069bc2101 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 31 Aug 2015 00:24:12 +0200 Subject: reproducible: make more robust --- bin/reproducible_build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index ec78a04a..cfd9e57a 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -415,6 +415,8 @@ get_source_package() { DBDREPORT="${SRCPACKAGE}_${EVERSION}.debbindiff.html" DBDTXT="${SRCPACKAGE}_${EVERSION}.debbindiff.txt" BUILDINFO="${SRCPACKAGE}_${EVERSION}_${ARCH}.buildinfo" + # used to catch race conditions when the same package is being built by two parallel jobs + LOCKFILE="/tmp/reproducible-lockfile-${SUITE}-${ARCH}-${SRCPACKAGE}" } check_suitability() { @@ -619,9 +621,6 @@ fi choose_package # defines SUITE, PKGID, SRCPACKAGE, SCHEDULED_DATE, SAVE_ARTIFACTS, NOTIFY -# used to catch race conditions when the same package is being built by two parallel jobs -LOCKFILE="/tmp/reproducible-lockfile-${SUITE}-${ARCH}-${SRCPACKAGE}" - init get_source_package -- cgit v1.2.3-70-g09d2