Configure the SWUpdate Service¶
Prerequisites
The SWUpdate service starts a real swupdate@<timestamp>.service unit
over the system D-Bus, so it needs real hardware and a distribution that
ships the SWUpdate tool together with systemd and D-Bus support. See the
meta-tolomeo documentation for
building a compatible image.
Configure the plugin¶
[plugins.swupdate]
# Directory the update package is written to.
download_dir = "/tmp/tolomeo"
# Name the package is saved under. "ota.pkg" is the default.
download_filename = "ota.pkg"
# Where the OTA state snapshot is persisted, so an interrupted update survives a restart.
checkpoint_file = "/tmp/tolomeo/ota-service.yml"
For the shared [nats] and [service] tables, see the Py ToloMEO
Configure NATS guide.
Run it¶
See also