see also HAPROplace Updater .
The updater consists of the following components:
updatePackage.tar.gpg
: Encrypted package containing the updatePackage.tar
archive
updatePackage.tar
: archive containing the install
script and the components
directory
updatePackage.tar.gpg
packagecomponents
: directory containing the actual updates in the form of debian packages
updatePackage.tar
archiveinstall
: script executed by setup
updatePackage.tar
archivesetup
: script that runs at every boot and runs install
(if present)updatePackage.tar
updatePackage.tar
to /var/local/setup/
updatePackage.tar
contains the install
script and the components
directory/var/local/setup/install
/var/local/setup/components/
components
directory, which contains the actual updates in the form of debian packagesinstall
is a Python script that performs the actual update/var/local/setup
components/
(s.o.) (?)20160905: No longer own setup script, as the same script in raspi-sd-builder -> haprotec-setup
/var/local/setup/install
/var/local/ setup
after successful execution of the install script100
, the system restarts and the script is called again/usr/etc
systemd
on every boot/etc/systemd/system
sudo systemctl enable webic-setup
Python scripts
#!/usr/bin/env python3
ln -s /usr/bin/python3.4 /usr/bin/python3