Debian dependency fixed (albeit in a hacky way for now...) Finally works through tor on RPi image

master
B.J. Dweck 2020-10-09 11:59:31 +02:00
parent 72c6af328e
commit ceb80569cb
2 changed files with 6 additions and 4 deletions

2
debian/control vendored
View File

@ -12,7 +12,7 @@ Vcs-Git: https://git.rudefox.io/bj/torch-agent.git
Package: torch-agent
Architecture: all
Multi-Arch: foreign
Depends: ssh, tor, python3-pip, python3-paho-mqtt (>=1.5.0), ${misc:Depends}, ${python3:Depends}
Depends: ssh, tor, python3-pip, ${misc:Depends}, ${python3:Depends}
Description: TORch is a solution for creating an SSH-via-Tor
backdoor on a remote device as a means of fallback remote
management and initial headless device configuration.

2
debian/postinst vendored
View File

@ -53,6 +53,8 @@ case "$1" in
useradd -r -g $GROUP $USER
fi
sudo -H pip3 install 'paho-mqtt>=1.5.1'
chown $USER /etc/torch
chown $USER /etc/torch/torch.conf