diff options
author | Phil Wise <phil@advancedtelematic.com> | 2017-05-24 16:14:26 +0200 |
---|---|---|
committer | Phil Wise <phil@advancedtelematic.com> | 2017-05-24 17:10:17 +0200 |
commit | 1c53ba362775c6f658406ab3f2333cdee260de79 (patch) | |
tree | 7555665ecc38743f0a9dcaf899ad6e89d8eaf701 /recipes-sota/aktualizr/files | |
parent | 0bba62210d1f4d91b1e36f13d5669b606a8fabc6 (diff) | |
download | meta-updater-1c53ba362775c6f658406ab3f2333cdee260de79.tar.gz |
Support Aktualizr in manual-provisioning mode
Aktualizr currently supports OSTree updates in non-autoprovisioned mode. Add a
systemd service to run it in that mode. It uses the same location for the
config file as rvi-sota-client (/sysroot/boot/sota.toml)
Also, the aktualizr recipe is reformatted according to
meta-openembedded/contrib/oe-stylize.py (which follows the OE styleguide)
Diffstat (limited to 'recipes-sota/aktualizr/files')
-rw-r--r-- | recipes-sota/aktualizr/files/aktualizr-manual-provision.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/files/aktualizr-manual-provision.service b/recipes-sota/aktualizr/files/aktualizr-manual-provision.service new file mode 100644 index 0000000..a70f2f9 --- /dev/null +++ b/recipes-sota/aktualizr/files/aktualizr-manual-provision.service | |||
@@ -0,0 +1,13 @@ | |||
1 | [Unit] | ||
2 | Description=Aktualizr SOTA Client | ||
3 | Wants=network-online.target | ||
4 | After=network.target network-online.target | ||
5 | Requires=network-online.target | ||
6 | |||
7 | [Service] | ||
8 | RestartSec=10 | ||
9 | Restart=always | ||
10 | ExecStart=/usr/bin/aktualizr --config /sysroot/boot/sota.toml --loglevel 2 | ||
11 | |||
12 | [Install] | ||
13 | WantedBy=multi-user.target | ||