diff options
author | Phil Wise <phil@advancedtelematic.com> | 2017-06-26 15:13:44 +0200 |
---|---|---|
committer | Phil Wise <phil@advancedtelematic.com> | 2017-06-26 15:17:32 +0200 |
commit | dc234532add69842295902d35981dba886468da0 (patch) | |
tree | 9168d7c82698be2b66d951f2159986f4d627a06b /recipes-sota/aktualizr/files | |
parent | 45c155a67d3532ad32342fc512e8bf6341ab9e5d (diff) | |
download | meta-updater-dc234532add69842295902d35981dba886468da0.tar.gz |
Aktualizr updates, including sync()
Perform sync() after provisioning
Store sota.toml in updatable /usr directory
Diffstat (limited to 'recipes-sota/aktualizr/files')
-rw-r--r-- | recipes-sota/aktualizr/files/aktualizr-autoprovision.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-sota/aktualizr/files/aktualizr-autoprovision.service b/recipes-sota/aktualizr/files/aktualizr-autoprovision.service index a5b92e3..fd0ab09 100644 --- a/recipes-sota/aktualizr/files/aktualizr-autoprovision.service +++ b/recipes-sota/aktualizr/files/aktualizr-autoprovision.service | |||
@@ -8,7 +8,7 @@ Requires=network-online.target | |||
8 | RestartSec=10 | 8 | RestartSec=10 |
9 | Restart=always | 9 | Restart=always |
10 | EnvironmentFile=/var/sota/sota_provisioning_url.env | 10 | EnvironmentFile=/var/sota/sota_provisioning_url.env |
11 | ExecStart=/bin/sh -c "/usr/bin/aktualizr --disable-keyid-validation --tls-server ${SOTA_GATEWAY_URI} --primary-ecu-hardware-id `cat /etc/hostname` --config /var/sota/sota.toml" | 11 | ExecStart=/usr/bin/aktualizr --disable-keyid-validation --tls-server ${SOTA_GATEWAY_URI} --config /usr/lib/sota/sota.toml |
12 | 12 | ||
13 | [Install] | 13 | [Install] |
14 | WantedBy=multi-user.target | 14 | WantedBy=multi-user.target |