summaryrefslogtreecommitdiff
path: root/bins/trove-early-setup
diff options
context:
space:
mode:
Diffstat (limited to 'bins/trove-early-setup')
-rwxr-xr-xbins/trove-early-setup8
1 files changed, 3 insertions, 5 deletions
diff --git a/bins/trove-early-setup b/bins/trove-early-setup
index 9c8fd65..e74d6e3 100755
--- a/bins/trove-early-setup
+++ b/bins/trove-early-setup
@@ -28,16 +28,14 @@ $(eval $(foreach USER,$(USERS),$(call make_user_rules,$(USER))))
users: $(ALL_USER_TARGETS)
gitano-setup: /home/git/.gitano-setup
-/home/git/.gitano-setup:
+/home/git/.gitano-setup: users
su -c 'gitano-setup /etc/gitano-setup.clod' - git
touch $@
-gitano-configured: gitano-lorry-setup
-
gitano-lorry-setup: /home/git/.gitano-lorry-setup
-
-/home/git/.gitano-lorry-setup:
+/home/git/.gitano-lorry-setup: gitano-setup
cp /home/lorry/.ssh/id_rsa.pub /tmp/lorry.pub
su -c 'ssh git@localhost as lorry sshkey add trove < /tmp/lorry.pub' - git
rm /tmp/lorry.pub
+gitano-configured: gitano-lorry-setup