Commit 23a63984 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible archlinux: put /var/lib/schroot on tmpfs

parent 27ab8b8e
...@@ -301,7 +301,6 @@ The plan is to run a jenkins.d.o host, which is maintained by DSA, but we are ma ...@@ -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 ==== reproducible Arch Linux
* describe archlinux setup…! * describe archlinux setup…!
* move /var/lib/schroot to /srv/workspace aka tmpfs
* maintenance job: * maintenance job:
** check for archlinux schroot sessions which should not be there and delete them. complain if that fails. ** check for archlinux schroot sessions which should not be there and delete them. complain if that fails.
** properly clean schroot sessions, check on pb3… ** properly clean schroot sessions, check on pb3…
......
...@@ -13,4 +13,10 @@ ...@@ -13,4 +13,10 @@
echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root 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 exit 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment