[Qa-jenkins-scm] [jenkins.debian.net] 01/01: make sure /srv/workspace/chroots /srv/workspace/pbuilder always exist

Holger Levsen holger at moszumanska.debian.org
Wed Sep 2 11:51:15 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 ea2473c2ae2bc2a34d020a922b7528f1ac6d0a5d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Sep 2 13:50:47 2015 +0200

    make sure /srv/workspace/chroots /srv/workspace/pbuilder always exist
---
 bin/common-functions.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/common-functions.sh b/bin/common-functions.sh
index b8efa6f..e144f04 100755
--- a/bin/common-functions.sh
+++ b/bin/common-functions.sh
@@ -48,6 +48,8 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
 	exit $?
 	# cleanup is done automatically via trap
 else
+	# these two directories reside on tmpfs, so they might be gone after reboots...
+	mkdir -p /srv/workspace/chroots /srv/workspace/pbuilder
 	# default settings used for the jenkins.debian.net environment
 	if [ -z "$LC_ALL" ]; then
 		export LC_ALL=C.UTF-8

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