diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-12-22 19:14:16 +0100 |
---|---|---|
committer | Anton Gerasimov <anton.gerasimov@openmailbox.org> | 2018-01-08 15:18:13 +0100 |
commit | 537de14d5018f9525964e7d4c64d736e9186c696 (patch) | |
tree | dde83617d1e109a978296f6a3ad508b26b5b4f65 /recipes-sota/aktualizr/aktualizr-implicit-prov.bb | |
parent | 2f5b892d318f9b22747aed4618d3f15728de9980 (diff) | |
download | meta-updater-537de14d5018f9525964e7d4c64d736e9186c696.tar.gz |
Add support of ISO/TP legacy secondaries and serial CAN
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-implicit-prov.bb')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr-implicit-prov.bb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-implicit-prov.bb b/recipes-sota/aktualizr/aktualizr-implicit-prov.bb index 67bd2c2..b5bf420 100644 --- a/recipes-sota/aktualizr/aktualizr-implicit-prov.bb +++ b/recipes-sota/aktualizr/aktualizr-implicit-prov.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | SUMMARY = "Aktualizr systemd service and configurations" | 1 | SUMMARY = "Aktualizr configuration for implicit provisioning" |
2 | DESCRIPTION = "Systemd service and configurations for implicitly provisioning Aktualizr, the SOTA Client application written in C++" | 2 | DESCRIPTION = "Systemd service and configurations for implicitly provisioning Aktualizr, the SOTA Client application written in C++" |
3 | HOMEPAGE = "https://github.com/advancedtelematic/aktualizr" | 3 | HOMEPAGE = "https://github.com/advancedtelematic/aktualizr" |
4 | SECTION = "base" | 4 | SECTION = "base" |
@@ -11,19 +11,13 @@ PR = "1" | |||
11 | 11 | ||
12 | SRC_URI = " \ | 12 | SRC_URI = " \ |
13 | file://LICENSE \ | 13 | file://LICENSE \ |
14 | file://aktualizr.service \ | ||
15 | " | 14 | " |
16 | 15 | ||
17 | SYSTEMD_SERVICE_${PN} = "aktualizr.service" | ||
18 | |||
19 | inherit systemd | ||
20 | 16 | ||
21 | require environment.inc | 17 | require environment.inc |
22 | require credentials.inc | 18 | require credentials.inc |
23 | 19 | ||
24 | do_install() { | 20 | do_install() { |
25 | install -d ${D}${systemd_unitdir}/system | ||
26 | install -m 0644 ${WORKDIR}/aktualizr.service ${D}${systemd_unitdir}/system/aktualizr.service | ||
27 | install -d ${D}${libdir}/sota | 21 | install -d ${D}${libdir}/sota |
28 | if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then | 22 | if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then |
29 | aktualizr_implicit_writer -c ${SOTA_PACKED_CREDENTIALS} \ | 23 | aktualizr_implicit_writer -c ${SOTA_PACKED_CREDENTIALS} \ |
@@ -32,7 +26,6 @@ do_install() { | |||
32 | } | 26 | } |
33 | 27 | ||
34 | FILES_${PN} = " \ | 28 | FILES_${PN} = " \ |
35 | ${systemd_unitdir}/system/aktualizr.service \ | ||
36 | ${libdir}/sota/sota.toml \ | 29 | ${libdir}/sota/sota.toml \ |
37 | ${libdir}/sota/root.crt \ | 30 | ${libdir}/sota/root.crt \ |
38 | " | 31 | " |