From bb0d5321e23a34729a5d396dd32df26a4d436875 Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Sun, 30 Dec 2012 17:35:09 +0000 Subject: trove-early-setup: Create ccache dir and set up the NFS server Create /home/cache/ccache, add an /etc/exports entry to allow clients to mount this directory with read/write permissions via NFS, and enable/start nfs-server.service. --- bins/trove-early-setup | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1