From 141ae2873847c337f5185c06952889f275822c53 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 20 Dec 2015 16:58:11 +0100 Subject: 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(+) (limited to 'bin/schroot-create.sh') diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh index 97c9d0f3..934ff38d 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 -- cgit v1.2.3-54-g00ecf