[Qa-jenkins-scm] [jenkins.debian.net] 01/01: install sudo in all schroots created

Holger Levsen holger at moszumanska.debian.org
Wed Sep 9 08:29:01 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 ed8afb36543215dcea6fb592f00beceb74142174
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Sep 9 10:28:20 2015 +0200

    install sudo in all schroots created
---
 bin/schroot-create.sh | 2 +-
 job-cfg/live.yaml     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 26f0c3d..427dc2a 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -156,7 +156,7 @@ bootstrap() {
 		if [ "$1" = "diffoscope" ] ; then
 			robust_chroot_apt install -y --install-recommends diffoscope
 		fi
-		robust_chroot_apt install -y --no-install-recommends "$@"
+		robust_chroot_apt install -y --no-install-recommends "$@ sudo"
 		# always try to use diffoscope from unstable
 		if [ "$SUITE" = "testing" ] && [ "$1" = "diffoscope" ] ; then
 			echo "deb $MIRROR unstable main"        | sudo tee -a $CHROOT_TARGET/etc/apt/sources.list > /dev/null
diff --git a/job-cfg/live.yaml b/job-cfg/live.yaml
index 7c1aefa..eb71ed0 100644
--- a/job-cfg/live.yaml
+++ b/job-cfg/live.yaml
@@ -78,5 +78,5 @@
        - '{name}_setup_schroot':
            my_description: 'Setup schroot for building live images using live-build in a jessie environment.'
            my_time: '42 10 1 * *'
-           my_shell: '/srv/jenkins/bin/schroot-create.sh live-jessie jessie sudo python live-build'
+           my_shell: '/srv/jenkins/bin/schroot-create.sh live-jessie jessie python live-build'
 

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