From dfa15e63fd98ec47f1d545f4bc7aaf2b8fa76a20 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 4 Jan 2016 16:22:51 +0100 Subject: reproducible: revert the logic, actually on armhf we cannot guarantee to have a different number of cores… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/reproducible_build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index daffb38f..d5939c37 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -581,10 +581,10 @@ second_build() { echo "=============================================================================" set -x local TMPCFG=$(mktemp -t pbuilderrc_XXXX --tmpdir=$TMPDIR) - NEW_NUM_CPU=$(echo $NUM_CPU-1|bc) - # on armhf we always have different number of cores between 1st+2nd build due to the chosen nodes + 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=$NUM_CPU + NEW_NUM_CPU=$(echo $NUM_CPU-1|bc) fi cat > "$TMPCFG" << EOF BUILDUSERID=2222 -- cgit v1.2.3-70-g09d2