summaryrefslogtreecommitdiff
path: root/bins
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-24 15:17:30 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2012-09-24 15:17:30 +0100
commitcb176c4de49fba6e634d2e2c1b207a1bfdf6bfe3 (patch)
tree53acfd969ed41c36365ab72ee1264cd47d5d222e /bins
parent72a5d22da80ff35e4528c6003d6173751f249b02 (diff)
downloadtrove-setup-cb176c4de49fba6e634d2e2c1b207a1bfdf6bfe3.tar.gz
Updates for lorry
Diffstat (limited to 'bins')
-rwxr-xr-xbins/trove-early-setup9
1 files changed, 8 insertions, 1 deletions
diff --git a/bins/trove-early-setup b/bins/trove-early-setup
index d55ec50..0b3dd5f 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
+all: substitutions-done gitano-configured lorry-configured
USERS := git lorry cache
@@ -54,3 +54,10 @@ gitano-lorry-setup: /home/git/.gitano-lorry-setup
rm /tmp/lorry.pub
gitano-configured: gitano-lorry-setup
+
+lorry-setup: /home/lorry/.lorry-setup
+/home/lorry/.lorry-setup: $(ALL_USER_TARGETS)
+ su -c 'mkdir /home/lorry/bundles /home/lorry/tarballs' - lorry
+ touch $@
+
+lorry-configured: lorry-setup