[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible debian: build.sh: use chdist to download the source also on the build nodes

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 de52cdaf4615bc475bd78b61cb1c98842b6850fc
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Thu Apr 5 17:55:28 2018 +0200

    reproducible debian: build.sh: use chdist to download the source also on the build nodes
    
    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 ccfd9ea..aec15b7 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -512,7 +512,7 @@ download_source() {
 	set +e
 	local TMPLOG=$(mktemp --tmpdir=$TMPDIR)
 	if [ "$MODE" != "master" ] ; then
-		schroot --directory $TMPDIR -c chroot:jenkins-reproducible-$SUITE apt-get -- --download-only --only-source source ${SRCPACKAGE}=${VERSION} 2>&1 | tee ${TMPLOG}
+		chdist --data-dir="$CHPATH" apt-get "$SUITE-$ARCH" --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-$(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}

-- 
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