From 43b565aeb6edb73f0977b264aebb95199d82df0e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 1 Jan 2015 23:04:08 +0100 Subject: fixup --- 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 6e2fca46..7d5f3bc1 100755 --- a/bin/schroot-create.sh +++ b/bin/schroot-create.sh @@ -60,7 +60,7 @@ bootstrap() { for d in proc dev dev/pts ; do sudo mount --bind /$d $CHROOT_TARGET/$d done - sudo chroot $CHROOT_TARGET apt-get install -y --no-install-recommends "sudo $@" + sudo chroot $CHROOT_TARGET apt-get install -y --no-install-recommends "$@" sudo # umount in reverse order for d in dev/pts dev proc ; do sudo umount -l $CHROOT_TARGET/$d diff --git a/job-cfg/live.yaml b/job-cfg/live.yaml index 05fdf470..a88da9f8 100644 --- a/job-cfg/live.yaml +++ b/job-cfg/live.yaml @@ -50,5 +50,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 python sudo live-build' + my_shell: '/srv/jenkins/bin/schroot-create.sh live-jessie jessie python live-build' -- cgit v1.2.3-70-g09d2