summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-23 12:11:36 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-23 12:11:36 +0200
commit71cd8f14f4502f2a6ec1fd4058e03c4399e38e11 (patch)
tree27aa3968bc03567118efcad6b9bd2b662fde6286 /bin/reproducible_build.sh
parent149ab897709dd1b2a44fc1fb1578d83acb7c6baa (diff)
downloadjenkins.debian.net-71cd8f14f4502f2a6ec1fd4058e03c4399e38e11.tar.xz
Revert "reproducible: treat disorderfs specially as long we need it"
This reverts commit 149ab897709dd1b2a44fc1fb1578d83acb7c6baa.
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 5ff79dec..5c2a42a4 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -708,6 +708,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