From f889dff6feaba11c5dfb0a3749908853139f81f8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 8 Sep 2015 13:02:30 +0200 Subject: use sudo for better results --- bin/schroot-create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2