[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible debian: special case the d-i package as it has special needs (see #926242)
    Mattia Rizzolo 
    gitlab at salsa.debian.org
       
    Wed Apr  3 10:49:03 BST 2019
    
    
  
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
e3117ca2 by Mattia Rizzolo at 2019-04-03T09:48:47Z
reproducible debian: special case the d-i package as it has special needs (see #926242)
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
1 changed file:
- bin/reproducible_build.sh
Changes:
=====================================
bin/reproducible_build.sh
=====================================
@@ -587,6 +587,11 @@ EOF
 	else
 		echo "BUILDDIR=/build" >> "$TMPCFG"
 	fi
+	if [ "$SRCPACKAGE" = "debian-installer" ]; then
+		# d-i needs to access to a debian-archive.  this is not possible in
+		# pbuilder, so grant complete netowrk access to it.
+		echo "USENETWORK=yes" >> "$TMPCFG"
+	fi
 	set +e
 	# remember to change the sudoers setting if you change the following command
 	sudo timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice \
@@ -657,6 +662,11 @@ EOF
 	else
 		echo "BUILDDIR=/build" >> "$TMPCFG"
 	fi
+	if [ "$SRCPACKAGE" = "debian-installer" ]; then
+		# d-i needs to access to a debian-archive.  this is not possible in
+		# pbuilder, so grant complete netowrk access to it.
+		echo "USENETWORK=yes" >> "$TMPCFG"
+	fi
 
 	local pbuilder_options=()
 	case "${SUITE}" in
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/e3117ca244b230c04e324814e20c02032026a5cf
-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/e3117ca244b230c04e324814e20c02032026a5cf
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190403/fde6c451/attachment-0001.html>
    
    
More information about the Qa-jenkins-scm
mailing list