summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-03-07 15:28:19 +0100
committerHolger Levsen <holger@layer-acht.org>2016-03-07 15:28:19 +0100
commit15f3b81176be945769a15574afe682552e9d770c (patch)
tree7b42f65c317d6e2df27a610efee747f0ed2d2c63 /bin/reproducible_build.sh
parentcfd088fdfb62a313e5158e79f5859b0ae5e8c707 (diff)
downloadjenkins.debian.net-15f3b81176be945769a15574afe682552e9d770c.tar.xz
reproducible debian: always build with all cores on all archs
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 7b11cef1..376764fc 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -587,11 +587,7 @@ second_build() {
echo "============================================================================="
set -x
local TMPCFG=$(mktemp -t pbuilderrc_XXXX --tmpdir=$TMPDIR)
- NEW_NUM_CPU=$NUM_CPU
- # on armhf we cannot guarantee we have a different number of cores between 1st+2nd build due to the chosen nodes...
- if [ "$ARCH" = "armhf" ] ; then
- NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)
- fi
+ NEW_NUM_CPU=$NUM_CPU # on amd64+i386 we vary this based on node choices (by design), on armhf only sometimes.
cat > "$TMPCFG" << EOF
BUILDUSERID=2222
BUILDUSERNAME=pbuilder2