[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible debian: build.sh: use the host architecture when selecting which chdist to download sources from
Mattia Rizzolo
mattia at debian.org
Thu Apr 5 15:55:50 UTC 2018
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository jenkins.debian.net.
commit d62b42535eb6fc80d65438592ff18f895e5a2300
Author: Mattia Rizzolo <mattia at debian.org>
Date: Thu Apr 5 17:53:57 2018 +0200
reproducible debian: build.sh: use the host architecture when selecting which chdist to download sources from
sources are not arch-dependant anyway…
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
bin/reproducible_build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 6b62ef2..ccfd9ea 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -515,7 +515,7 @@ download_source() {
schroot --directory $TMPDIR -c chroot:jenkins-reproducible-$SUITE apt-get -- --download-only --only-source source ${SRCPACKAGE}=${VERSION} 2>&1 | tee ${TMPLOG}
else
# the build master only needs to the the .dsc file
- chdist --data-dir="$CHPATH" apt-get "$SUITE-$ARCH" --download-only --only-source --print-uris source ${SRCPACKAGE}=${VERSION} | grep \.dsc|cut -d " " -f1|xargs -r wget --timeout=180 --tries=3 2>&1 | tee ${TMPLOG}
+ chdist --data-dir="$CHPATH" apt-get "$SUITE-$(dpkg --print-architecture)" --download-only --only-source --print-uris source ${SRCPACKAGE}=${VERSION} | grep \.dsc|cut -d " " -f1|xargs -r wget --timeout=180 --tries=3 2>&1 | tee ${TMPLOG}
fi
local ENGLISH_RESULT=$(egrep 'E: (Unable to find a source package for|Failed to fetch.*(Unable to connect to|Connection failed|Size mismatch|Cannot initiate the connection to|Bad Gateway|Service Unavailable))' ${TMPLOG})
local FRENCH_RESULT=$(egrep 'E: (Unable to find a source package for|impossible de récupérer.*(Unable to connect to|Échec de la connexion|Size mismatch|Cannot initiate the connection to|Bad Gateway|Service Unavailable))' ${TMPLOG})
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list