From 3674e1714b4203074992a42309c0245be12abc1c Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Thu, 27 Sep 2012 11:39:41 +0100 Subject: Ensure /home/cache/artifacts is created on setup --- bins/trove-early-setup | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bins/trove-early-setup b/bins/trove-early-setup index 92e888a..0971118 100755 --- a/bins/trove-early-setup +++ b/bins/trove-early-setup @@ -1,7 +1,7 @@ #!/usr/bin/make -f # -*- Make -*- -all: substitutions-done gitano-configured lorry-configured +all: substitutions-done gitano-configured lorry-configured cache-configured USERS := git lorry cache @@ -62,3 +62,10 @@ lorry-setup: /home/lorry/.lorry-setup touch $@ lorry-configured: lorry-setup + +cache-setup: /home/cache/.cache-setup +/home/cache/.cache-setup: $(ALL_USER_TARGETS) + su -c 'mkdir /home/cache/artifacts' - cache + touch $@ + +cache-configured: cache-setup -- cgit v1.2.1