summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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