[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: maintenance: remove old schroots with the --one-file-system (also as specified in the sudoers file)

Holger Levsen holger at moszumanska.debian.org
Sat Apr 11 13:13:35 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 cb14ba6ffb535dc8d58b423538451b2afe3675b5
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Fri Apr 10 14:40:18 2015 +0200

    reproducible: maintenance: remove old schroots with the --one-file-system (also as specified in the sudoers file)
---
 bin/reproducible_maintenance.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 9b8221d..341c93a 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -52,7 +52,7 @@ OLDSTUFF=$(find /schroots/ -maxdepth 1 -type d -name "reproducible-*-*" -mtime +
 if [ ! -z "$OLDSTUFF" ] ; then
 	echo
 	echo "Warning: old schroots found in /schroots, which have been deleted:"
-	find /schroots/ -maxdepth 1 -type d -name "reproducible-*-*" -mtime +2 -exec sudo rm -rf {} \;
+	find /schroots/ -maxdepth 1 -type d -name "reproducible-*-*" -mtime +2 -exec sudo rm -rf --one-file-system {} \;
 	echo "$OLDSTUFF"
 	echo
 	DIRTY=true

-- 
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