Compare commits
No commits in common. "f3677ad45e2fc7a8c4a35a0ab62e6ba9c5b72d99" and "19df7d2d35c982ee8d162c4dbd74f6b1d4c6a95a" have entirely different histories.
f3677ad45e
...
19df7d2d35
|
@ -25,7 +25,7 @@ Using the e-mail address you provided during GPG key generation, run `build-deb.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build-deb.sh john@doe.com
|
./build-deb.sh john@doe.com
|
||||||
apt update && apt install build/torch-agent_0.0.4-1_all.deb
|
apt update && apt install build/torch-agent_0.0.3-1_all.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
This will:
|
This will:
|
||||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -1,4 +1,4 @@
|
||||||
torch-agent (0.0.4-1) stable; urgency=medium
|
torch-agent (0.0.3-1) stable; urgency=medium
|
||||||
|
|
||||||
* Update
|
* Update
|
||||||
|
|
||||||
|
|
8
debian/postinst
vendored
8
debian/postinst
vendored
|
@ -53,12 +53,10 @@ case "$1" in
|
||||||
useradd -r -g $GROUP $USER
|
useradd -r -g $GROUP $USER
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo -H pip3 install 'paho-mqtt>=1.5.1'
|
chown $USER /etc/torch
|
||||||
|
chown $USER /etc/torch/torch.conf
|
||||||
|
|
||||||
chown $USER /etc/torch
|
configure_tor_controller
|
||||||
chown $USER /etc/torch/torch.conf
|
|
||||||
|
|
||||||
configure_tor_controller
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
abort-upgrade|abort-remove|abort-deconfigure)
|
abort-upgrade|abort-remove|abort-deconfigure)
|
||||||
|
|
1
debian/pydist-overrides
vendored
1
debian/pydist-overrides
vendored
|
@ -1 +0,0 @@
|
||||||
OthermoduleName python-othermodule; PEP386
|
|
|
@ -40,7 +40,7 @@ In a separate terminal window, run the subscriber:
|
||||||
```bash
|
```bash
|
||||||
cd ..
|
cd ..
|
||||||
./make-pkg.sh john@doe.com
|
./make-pkg.sh john@doe.com
|
||||||
cp -f build/torch-agent_0.0.4-1_all.deb example/
|
cp -f build/torch-agent_0.0.3-1_all.deb example/
|
||||||
cd example
|
cd example
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
4
example/Vagrantfile
vendored
4
example/Vagrantfile
vendored
|
@ -64,7 +64,7 @@ Vagrant.configure("2") do |config|
|
||||||
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
|
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
|
||||||
# documentation for more information about their specific syntax and use.
|
# documentation for more information about their specific syntax and use.
|
||||||
|
|
||||||
config.vm.provision "file", source: "torch-agent_0.0.4-1_all.deb", destination: "~/"
|
config.vm.provision "file", source: "torch-agent_0.0.3-1_all.deb", destination: "~/"
|
||||||
config.vm.provision "file", source: "agent-config", destination: "~/torch-conf"
|
config.vm.provision "file", source: "agent-config", destination: "~/torch-conf"
|
||||||
|
|
||||||
config.vm.provision "shell", inline: <<-SHELL
|
config.vm.provision "shell", inline: <<-SHELL
|
||||||
|
@ -72,7 +72,7 @@ Vagrant.configure("2") do |config|
|
||||||
sudo -- sh -c "echo '10.0.2.2 mqtt.example.com' >> /etc/hosts"
|
sudo -- sh -c "echo '10.0.2.2 mqtt.example.com' >> /etc/hosts"
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y ./torch-agent_0.0.4-1_all.deb
|
sudo apt install -y ./torch-agent_0.0.3-1_all.deb
|
||||||
|
|
||||||
sudo cp -f torch-conf/* /etc/torch/
|
sudo cp -f torch-conf/* /etc/torch/
|
||||||
sudo chown -R torch /etc/torch
|
sudo chown -R torch /etc/torch
|
||||||
|
|
BIN
example/torch-agent_0.0.3-1_all.deb
Normal file
BIN
example/torch-agent_0.0.3-1_all.deb
Normal file
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
__version__ = "0.0.4"
|
__version__ = "0.0.3"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user