[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] d-i: preseed man-db/auto-update to false

Holger Levsen gitlab at salsa.debian.org
Mon Oct 15 16:20:03 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
bc9dbff8 by Holger Levsen at 2018-10-15T15:19:50Z
d-i: preseed man-db/auto-update to false

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- bin/d-i_build.sh
- bin/d-i_manual.sh


Changes:

=====================================
bin/d-i_build.sh
=====================================
@@ -112,6 +112,13 @@ pdebuild_package() {
 	#
 	if [ ! -f /var/cache/pbuilder/base.tgz ] ; then
 		sudo pbuilder --create --http-proxy $http_proxy
+		TMPFILE=$(mktemp)
+		cat >> $TMPFILE <<- EOF
+# Preseeding man-db/auto-update to false
+echo "man-db man-db/auto-update boolean false" | debconf-set-selections
+EOF
+		sudo pbuilder --execute $http_proxy --save-after-exec -- ${TMPFILE}
+		rm ${TMPFILE}
 	else
 		ls -la /var/cache/pbuilder/base.tgz
 		file /var/cache/pbuilder/base.tgz


=====================================
bin/d-i_manual.sh
=====================================
@@ -40,6 +40,13 @@ pdebuild_package() {
 	#
 	if [ -f /var/cache/pbuilder/base.tgz ] ; then
 		sudo pbuilder --create --http-proxy $http_proxy
+		TMPFILE=$(mktemp)
+		cat >> $TMPFILE <<- EOF
+# Preseeding man-db/auto-update to false
+echo "man-db man-db/auto-update boolean false" | debconf-set-selections
+EOF
+		sudo pbuilder --execute $http_proxy --save-after-exec -- ${TMPFILE}
+		rm ${TMPFILE}
 	else
 		sudo pbuilder --update --http-proxy $http_proxy
 	fi



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/bc9dbff88879f72cca3dba4c4a5aac7f5f68adca

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/bc9dbff88879f72cca3dba4c4a5aac7f5f68adca
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/20181015/203db946/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list