[Qa-jenkins-scm] [jenkins.debian.net] 01/01: schroot-create: use security updates too (thanks to torbrowser tests breaking on february 21st 2016…)

Holger Levsen holger at moszumanska.debian.org
Sun Feb 28 00:43:10 UTC 2016


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 e6fa9d12fd6af57a17a15b53ef7205903075244b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Feb 28 01:43:00 2016 +0100

    schroot-create: use security updates too (thanks to torbrowser tests breaking on february 21st 2016…)
---
 bin/schroot-create.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index d5c7437..4a7ee9d 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -23,7 +23,7 @@ fi
 
 # initialize vars
 declare -a EXTRA_SOURCES
-for i in $(seq 0 5) ; do
+for i in $(seq 0 7) ; do
 	EXTRA_SOURCES[$i]=""
 done
 CONTRIB=""
@@ -59,6 +59,9 @@ if [ "$SUITE" = "experimental" ] ; then
 	SUITE=sid
 	EXTRA_SOURCES[0]="deb $MIRROR experimental main $CONTRIB"
 	EXTRA_SOURCES[1]="deb-src $MIRROR experimental main $CONTRIB"
+elif [ "$SUITE" != "unstable" ] ; then
+	EXTRA_SOURCES[6]="deb security.debian.org $SUITE/updates main $CONTRIB"
+	EXTRA_SOURCES[6]="deb-src security.debian.org $SUITE/updates main $CONTRIB"
 fi
 
 export SCHROOT_TARGET=$(mktemp -d -p $SCHROOT_BASE/ schroot-install-$TARGET-XXXX)
@@ -148,7 +151,7 @@ bootstrap() {
 	echo "# generated by $BUILD_URL"              | sudo tee    $SCHROOT_TARGET/etc/apt/sources.list > /dev/null
 	echo "deb $MIRROR $SUITE main $CONTRIB"       | sudo tee -a $SCHROOT_TARGET/etc/apt/sources.list > /dev/null
 	echo "deb-src $MIRROR $SUITE main $CONTRIB"   | sudo tee -a $SCHROOT_TARGET/etc/apt/sources.list > /dev/null
-	for i in $(seq 0 5) ; do
+	for i in $(seq 0 7) ; do
 		[ -z "${EXTRA_SOURCES[$i]}" ] || echo "${EXTRA_SOURCES[$i]}"                     | sudo tee -a $SCHROOT_TARGET/etc/apt/sources.list >/dev/null
 	done
 

-- 
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