diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-02-12 02:06:23 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-02-12 02:06:23 +0100 |
commit | 7ed0c6f4fe9f89539cba5632578b104ffc2a4fa6 (patch) | |
tree | 0a359deeb700af701269277ff755e42617f87cd0 /hosts/profitbricks-build3-amd64/etc | |
parent | c42809f341b25683de358b7efe0150e5865075ba (diff) | |
download | jenkins.debian.net-7ed0c6f4fe9f89539cba5632578b104ffc2a4fa6.tar.xz |
reproducible: correctly configure schroot for sessions on tmpfs
Diffstat (limited to 'hosts/profitbricks-build3-amd64/etc')
-rwxr-xr-x | hosts/profitbricks-build3-amd64/etc/rc.local | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local index aec1060e..8879125c 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 |