Kaynağa Gözat

tahoe-lafs dependencies

Bob Mottram 8 yıl önce
ebeveyn
işleme
a8fbe26dfb
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5
    1
      src/freedombone-app-tahoelafs

+ 5
- 1
src/freedombone-app-tahoelafs Dosyayı Görüntüle

100
     function_check set_repo_commit
100
     function_check set_repo_commit
101
     set_repo_commit /home/tahoelafs/tahoelafs "tahoelafs commit" "$TAHOELAFS_COMMIT" $TAHOELAFS_REPO
101
     set_repo_commit /home/tahoelafs/tahoelafs "tahoelafs commit" "$TAHOELAFS_COMMIT" $TAHOELAFS_REPO
102
     cd /home/tahoelafs/tahoelafs
102
     cd /home/tahoelafs/tahoelafs
103
+    git submodule update --init --recursive
103
     virtualenv venv
104
     virtualenv venv
104
     venv/bin/pip install --editable .
105
     venv/bin/pip install --editable .
105
     chown -R tahoelafs:tahoelafs /home/tahoelafs
106
     chown -R tahoelafs:tahoelafs /home/tahoelafs
192
         return
193
         return
193
     fi
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
     # create a user to run the introducer
199
     # create a user to run the introducer
198
     if [ ! -d /home/tahoelafs ]; then
200
     if [ ! -d /home/tahoelafs ]; then
211
     git_clone $TAHOELAFS_REPO /home/tahoelafs/tahoelafs
213
     git_clone $TAHOELAFS_REPO /home/tahoelafs/tahoelafs
212
     cd /home/tahoelafs/tahoelafs
214
     cd /home/tahoelafs/tahoelafs
213
     git checkout $TAHOELAFS_COMMIT -b $TAHOELAFS_COMMIT
215
     git checkout $TAHOELAFS_COMMIT -b $TAHOELAFS_COMMIT
216
+    git submodule update --init --recursive
214
     virtualenv venv
217
     virtualenv venv
218
+    venv/bin/pip install six packaging appdirs pycrypto==2.1.0
215
     venv/bin/pip install --editable .
219
     venv/bin/pip install --editable .
216
     configure_firewall_for_tahoelafs
220
     configure_firewall_for_tahoelafs
217
 
221