summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build3-amd64/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-21 11:30:54 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-21 11:33:56 +0100
commit23a639845945e7ba735a4225274cd31ee70d9731 (patch)
tree624612f3db004b4dcfde9b750964413412add9e5 /hosts/profitbricks-build3-amd64/etc
parent27ab8b8e5c9d6cec8cb4ea3f7159837753cc207c (diff)
downloadjenkins.debian.net-23a639845945e7ba735a4225274cd31ee70d9731.tar.xz
reproducible archlinux: put /var/lib/schroot on tmpfs
Diffstat (limited to 'hosts/profitbricks-build3-amd64/etc')
-rwxr-xr-xhosts/profitbricks-build3-amd64/etc/rc.local6
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local
index 1c4ece10..aec1060e 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