[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible archlinux: put /var/lib/schroot on tmpfs
Holger Levsen
holger at moszumanska.debian.org
Mon Dec 21 11:16:33 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 23a639845945e7ba735a4225274cd31ee70d9731
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Dec 21 11:30:54 2015 +0100
reproducible archlinux: put /var/lib/schroot on tmpfs
---
TODO | 1 -
hosts/profitbricks-build3-amd64/etc/rc.local | 6 ++++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/TODO b/TODO
index a0b6aac..cf946ae 100644
--- a/TODO
+++ b/TODO
@@ -301,7 +301,6 @@ The plan is to run a jenkins.d.o host, which is maintained by DSA, but we are ma
==== reproducible Arch Linux
* describe archlinux setup…!
-* move /var/lib/schroot to /srv/workspace aka tmpfs
* maintenance job:
** check for archlinux schroot sessions which should not be there and delete them. complain if that fails.
** properly clean schroot sessions, check on pb3…
diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local
index 1c4ece1..aec1060 100755
--- a/hosts/profitbricks-build3-amd64/etc/rc.local
+++ b/hosts/profitbricks-build3-amd64/etc/rc.local
@@ -13,4 +13,10 @@
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"
+cd /srv/workspace/varlibschroot || exit 1
+mkdir -p mount session union unpack
+mkdir -p union/overlay union/underlay
+
exit 0
--
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