Browse Source

Merge pull request #633 from openoms/x86v1.2

fix python-grpc permissions
master
Christian Rotzoll 6 years ago
committed by GitHub
parent
commit
294d231c10
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      build_sdcard.sh

3
build_sdcard.sh

@ -569,7 +569,8 @@ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 2
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 1 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 1
echo "to switch between python2/3: sudo update-alternatives --config python" echo "to switch between python2/3: sudo update-alternatives --config python"
sudo apt-get -f -y install virtualenv sudo apt-get -f -y install virtualenv
sudo -u admin bash -c "cd; sudo virtualenv python-env-lnd; source /home/admin/python-env-lnd/bin/activate; sudo pip install grpcio grpcio-tools googleapis-common-protos pathlib2" sudo chown -R admin /home/admin
sudo -u admin bash -c "cd; virtualenv python-env-lnd; source /home/admin/python-env-lnd/bin/activate; pip install grpcio grpcio-tools googleapis-common-protos pathlib2"
echo "" echo ""
# "*** Installing Go ***" # "*** Installing Go ***"

Loading…
Cancel
Save