summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-12 15:07:07 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-12 15:07:07 +0200
commita981a651fceaf0c60b0c34b934e05d9bf1b9e44b (patch)
tree45f1d5d02ac932b61daa8125be9d8daf94e9f006 /bin/reproducible_build.sh
parentf24921eec43d2912c64ea2ad57e36c566520cec5 (diff)
downloadjenkins.debian.net-a981a651fceaf0c60b0c34b934e05d9bf1b9e44b.tar.xz
reproducible: add visible note about 2nd build
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index bee908b2..d95bf4c0 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -210,6 +210,11 @@ for SRCPACKAGE in ${PACKAGES} ; do
# so first delete files from .dsc, then from .changes file
sudo dcmd rm /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}.dsc
sudo dcmd rm /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}_amd64.changes
+ set +x
+ echo "============================================================================="
+ echo "Re-building ${SRCPACKAGE} now."
+ echo "============================================================================="
+ set -x
timeout 12h nice ionice -c 3 sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" pbuilder --build --debbuildopts "-b" --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_${EVERSION}.dsc
dcmd cp /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}_amd64.changes b2
# and again (see comment 5 lines above)