[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: correctly configure schroot for sessions on tmpfs
Holger Levsen
holger at moszumanska.debian.org
Fri Feb 12 01:06:43 UTC 2016
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 7ed0c6f4fe9f89539cba5632578b104ffc2a4fa6
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Feb 12 02:06:23 2016 +0100
reproducible: correctly configure schroot for sessions on tmpfs
---
hosts/profitbricks-build3-amd64/etc/rc.local | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local
index aec1060..8879125 100755
--- a/hosts/profitbricks-build3-amd64/etc/rc.local
+++ b/hosts/profitbricks-build3-amd64/etc/rc.local
@@ -14,7 +14,8 @@
echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
# keep schroot sessions on tmpfs
-[ -L /var/lib/schroot ] || echo "$(date -u) - /var/lib/schroot is not a link to /srv/workspace/varlibschroot/ as it should, please fix manually"
+[ -L /var/lib/schroot ] || echo "$(date -u) - /var/lib/schroot is not a link (to /srv/workspace/varlibschroot/) as it should, please fix manually"
+mkdir -p /srv/workspace/varlibschroot
cd /srv/workspace/varlibschroot || exit 1
mkdir -p mount session union unpack
mkdir -p union/overlay union/underlay
--
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