summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-01-15 13:32:49 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-01-15 13:32:49 +0000
commitc39ad386c6f47acf8f4e2ee5f214533693e66a0c (patch)
tree307784a7c24e84342aadb912ab091d6970de6275
parentcaa670eb15bee2a24fe0cf207248a921616a4b18 (diff)
parentbb0d5321e23a34729a5d396dd32df26a4d436875 (diff)
downloadtrove-setup-c39ad386c6f47acf8f4e2ee5f214533693e66a0c.tar.gz
Merge branch 'jannispohlmann/enable-ccache-nfs'
-rwxr-xr-xbins/trove-early-setup4
1 files changed, 4 insertions, 0 deletions
diff --git a/bins/trove-early-setup b/bins/trove-early-setup
index e25c652..88fb8d8 100755
--- a/bins/trove-early-setup
+++ b/bins/trove-early-setup
@@ -86,6 +86,10 @@ lorry-configured: lorry-setup lorry-controller-configured
cache-setup: /home/cache/.cache-setup
/home/cache/.cache-setup: $(ALL_USER_TARGETS)
su -c 'mkdir /home/cache/artifacts' - cache
+ su -c 'mkdir /home/cache/ccache' - cache
+ echo '/home/cache/ccache *(rw,all_squash,no_subtree_check,anonuid=1002,anongid=1002)' > /etc/exports
+ systemctl enable nfs-server.service
+ systemctl start nfs-server.service
touch $@
cache-configured: cache-setup