summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build_rpm.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-13 18:44:42 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-13 18:44:42 +0100
commita2da2820aedb5aac1ed5b84e67fda5bfd69f3226 (patch)
tree4bd5ff880c517544e5bf8fa36cb13c78dc5a7928 /bin/reproducible_build_rpm.sh
parentbb439f46fa0345c5c5e5e3421e8bcf92115a32ed (diff)
downloadjenkins.debian.net-a2da2820aedb5aac1ed5b84e67fda5bfd69f3226.tar.xz
reproducible rpms: mock can be used in parallel too
Diffstat (limited to 'bin/reproducible_build_rpm.sh')
-rwxr-xr-xbin/reproducible_build_rpm.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_build_rpm.sh b/bin/reproducible_build_rpm.sh
index 26fa444f..34e11e25 100755
--- a/bin/reproducible_build_rpm.sh
+++ b/bin/reproducible_build_rpm.sh
@@ -175,7 +175,6 @@ cd $TMPDIR
DATE=$(date -u +'%Y-%m-%d %H:%M')
START=$(date +'%s')
-BUILDER="${JOB_NAME#reproducible_builder_}/${BUILD_ID}"
DUMMY=$(mktemp -t rpm-dummy-XXXXXXXX)
touch -d "$(date -u -d "6 hours ago" '+%Y-%m-%d %H:%M') UTC" $DUMMY
RPM_STAMPS=/srv/reproducible-results/.rpm_stamp
@@ -214,6 +213,8 @@ RELEASE="$1"
ARCH="$2"
SRCPACKAGE="" # package name
SRC_RPM="" # src rpm file name
+# not used yet:
+UNIQEEXT="mock_${JOB_NAME#reproducible_builder_${RELEASE}_$ARCH}}"
#update_mock # FIXME: we dont have to run mock on the main node yet, but we will need at least have to update yum there…
choose_package
# build package twice