From ea2473c2ae2bc2a34d020a922b7528f1ac6d0a5d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 2 Sep 2015 13:50:47 +0200 Subject: 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 b8efa6f6..e144f04e 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 -- cgit v1.2.3-70-g09d2