[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fix diffoscope schroot creation by using the non-interactive debconf frontend explicitly. (Thanks Niko Tyni for tracking this down)
Holger Levsen
holger at moszumanska.debian.org
Sun Dec 20 15:58:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 141ae2873847c337f5185c06952889f275822c53
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Dec 20 16:58:11 2015 +0100
reproducible: fix diffoscope schroot creation by using the non-interactive debconf frontend explicitly. (Thanks Niko Tyni for tracking this down)
---
bin/schroot-create.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 97c9d0f..934ff38 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -169,6 +169,9 @@ bootstrap() {
robust_chroot_apt update
# first, (if), install diffoscope with all recommends...
if [ "$1" = "diffoscope" ] ; then
+ # we could also use $SCRIPT_HEADER (set in bin/common-functions.sh) in our generated scripts
+ # instead of using the next line, maybe we should…
+ echo 'debconf debconf/frontend select noninteractive' | sudo chroot $SCHROOT_TARGET debconf-set-selections
robust_chroot_apt install -y --install-recommends diffoscope
fi
robust_chroot_apt install -y --no-install-recommends sudo
--
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