diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-08 13:02:30 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-08 13:02:30 +0200 |
commit | f889dff6feaba11c5dfb0a3749908853139f81f8 (patch) | |
tree | 577cf5f2eb6f94c9012aeccfbacf4181c4efddba /bin | |
parent | 98729738b0606aecf210daeb4e288669fe482ce5 (diff) | |
download | jenkins.debian.net-f889dff6feaba11c5dfb0a3749908853139f81f8.tar.xz |
use sudo for better results
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 1b23f7df..4af2736a 100755 --- a/bin/schroot-create.sh +++ b/bin/schroot-create.sh @@ -108,7 +108,7 @@ bootstrap() { set -e if [ -z "$RESULT" ] ; then echo "$(date -u) - initial debootstrap failed, sleeping 5min before retrying..." - rm $CHROOT_TARGET -rf + sudo rm -rf --one-file-system $CHROOT_TARGET sleep 5m sudo debootstrap $SUITE $CHROOT_TARGET $MIRROR fi |