From fef02237f9f7aef649db16ba4162355f9a4deb2f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 12 Jun 2017 22:43:07 +0200 Subject: reproducible Debian: WIP for s#testing#stretch#g - see TODO4stretch_rename.txt for status Signed-off-by: Holger Levsen --- bin/schroot-create.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/schroot-create.sh') diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh index dcf11e74..94a2fbb6 100755 --- a/bin/schroot-create.sh +++ b/bin/schroot-create.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2012-2016 Holger Levsen +# Copyright 2012-2017 Holger Levsen # Copyright 2013 Antonio Terceiro # Copyright 2014 Joachim Breitner # Copyright 2015 MAttia Rizzolo @@ -183,13 +183,13 @@ bootstrap() { robust_chroot_apt install -y --no-install-recommends sudo robust_chroot_apt install -y --no-install-recommends $@ # try to use diffoscope from experimental - if ([ "$SUITE" = "unstable" ] || [ "$SUITE" = "testing" ] ) && [ "$1" = "diffoscope" ] ; then + if ([ "$SUITE" = "unstable" ] || [ "$SUITE" = "stretch" ] ) && [ "$1" = "diffoscope" ] ; then echo "deb $MIRROR experimental main" | sudo tee -a $SCHROOT_TARGET/etc/apt/sources.list > /dev/null robust_chroot_apt update # install diffoscope from experimental without re-adding all recommends... sudo chroot $SCHROOT_TARGET apt-get install -y -t experimental --no-install-recommends diffoscope || echo "Warning: diffoscope from experimental is uninstallable at the moment." - elif [ "$SUITE" = "testing" ] && [ "$1" = "diffoscope" ] ; then - # always try to use diffoscope from unstable on testing + elif [ "$SUITE" = "stretch" ] && [ "$1" = "diffoscope" ] ; then + # always try to use diffoscope from unstable on stretch echo "deb $MIRROR unstable main" | sudo tee -a $SCHROOT_TARGET/etc/apt/sources.list > /dev/null robust_chroot_apt update # install diffoscope from unstable without re-adding all recommends... -- cgit v1.2.3-54-g00ecf