diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-20 16:58:11 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-20 16:58:11 +0100 |
commit | 141ae2873847c337f5185c06952889f275822c53 (patch) | |
tree | 0bd684d505eeb0bf7e705c8bcbd1eb43bffc96ab | |
parent | b293a3f7af68e9efe2bac68eeb7c6f90616fc751 (diff) | |
download | jenkins.debian.net-141ae2873847c337f5185c06952889f275822c53.tar.xz |
reproducible: fix diffoscope schroot creation by using the non-interactive debconf frontend explicitly. (Thanks Niko Tyni for tracking this down)
-rwxr-xr-x | bin/schroot-create.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |