summaryrefslogtreecommitdiff
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
parent72a5d22da80ff35e4528c6003d6173751f249b02 (diff)
downloadtrove-setup-cb176c4de49fba6e634d2e2c1b207a1bfdf6bfe3.tar.gz
Updates for lorry
-rwxr-xr-xbins/trove-early-setup9
-rw-r--r--etc/lorry.conf1
2 files changed, 9 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
diff --git a/etc/lorry.conf b/etc/lorry.conf
index fc0605d..f39e624 100644
--- a/etc/lorry.conf
+++ b/etc/lorry.conf
@@ -2,4 +2,5 @@
mirror-base-url-push = ssh://git@localhost
mirror-base-url-fetch = ssh://git@localhost
bundle-dest = /home/lorry/bundles
+tarball-dest = /home/lorry/tarballs
working-area = /home/lorry/working-area