summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/common-functions.sh2
1 files changed, 2 insertions, 0 deletions
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