|
@@ -100,6 +100,7 @@ function upgrade_tahoelafs {
|
100
|
100
|
function_check set_repo_commit
|
101
|
101
|
set_repo_commit /home/tahoelafs/tahoelafs "tahoelafs commit" "$TAHOELAFS_COMMIT" $TAHOELAFS_REPO
|
102
|
102
|
cd /home/tahoelafs/tahoelafs
|
|
103
|
+ git submodule update --init --recursive
|
103
|
104
|
virtualenv venv
|
104
|
105
|
venv/bin/pip install --editable .
|
105
|
106
|
chown -R tahoelafs:tahoelafs /home/tahoelafs
|
|
@@ -192,7 +193,8 @@ function install_tahoelafs {
|
192
|
193
|
return
|
193
|
194
|
fi
|
194
|
195
|
|
195
|
|
- apt-get -yq install build-essential python-pip python-dev libffi-dev libssl-dev python-virtualenv
|
|
196
|
+ apt-get -yq install build-essential python-pip python-dev libffi-dev libssl-dev
|
|
197
|
+ apt-get -yq install libcrypto++-dev python-virtualenv
|
196
|
198
|
|
197
|
199
|
# create a user to run the introducer
|
198
|
200
|
if [ ! -d /home/tahoelafs ]; then
|
|
@@ -211,7 +213,9 @@ function install_tahoelafs {
|
211
|
213
|
git_clone $TAHOELAFS_REPO /home/tahoelafs/tahoelafs
|
212
|
214
|
cd /home/tahoelafs/tahoelafs
|
213
|
215
|
git checkout $TAHOELAFS_COMMIT -b $TAHOELAFS_COMMIT
|
|
216
|
+ git submodule update --init --recursive
|
214
|
217
|
virtualenv venv
|
|
218
|
+ venv/bin/pip install six packaging appdirs pycrypto==2.1.0
|
215
|
219
|
venv/bin/pip install --editable .
|
216
|
220
|
configure_firewall_for_tahoelafs
|
217
|
221
|
|