[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: no better idea atm than to define it twice

Holger Levsen holger at moszumanska.debian.org
Mon Aug 31 00:52:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 9feb3739a1a28d3465fe986d916b01ca236327bf
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Aug 31 02:51:47 2015 +0200

    reproducible: no better idea atm than to define it twice
---
 bin/reproducible_build.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index af455d6..598aaba 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -588,6 +588,8 @@ elif [ "$1" = "1" ] || [ "$1" = "2" ] ; then
 	TMPDIR="$4"
 	[ -d $TMPDIR ] || mkdir -p $TMPDIR
 	cd $TMPDIR
+	# used to catch race conditions when the same package is being built by two parallel jobs
+	LOCKFILE="/tmp/reproducible-lockfile-${SUITE}-${ARCH}-${SRCPACKAGE}"
 	get_source_package
 	mkdir b$MODE
 	if [ "$MODE" = "1" ] ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list