diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-09 10:28:20 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-09 10:28:20 +0200 |
commit | ed8afb36543215dcea6fb592f00beceb74142174 (patch) | |
tree | 55f07a08b0e2a7b4100a7deede24183aa0f8be43 /bin | |
parent | 476166afef1b7179508f3ab5c4bb10f8b316e1d9 (diff) | |
download | jenkins.debian.net-ed8afb36543215dcea6fb592f00beceb74142174.tar.xz |
install sudo in all schroots created
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/schroot-create.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh index 26f0c3d8..427dc2a8 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 |