[Qa-jenkins-scm] [jenkins.debian.net] 01/01: use sudo for better results
Holger Levsen
holger at moszumanska.debian.org
Tue Sep 8 11:03:14 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 f889dff6feaba11c5dfb0a3749908853139f81f8
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Sep 8 13:02:30 2015 +0200
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 1b23f7d..4af2736 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
--
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