diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-11-30 10:41:38 +0100 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-12-04 16:26:44 +0100 |
commit | 85095e8dc9beda9a3c6e070bc303276ac02a7281 (patch) | |
tree | eb9d16e4d6d608b26de2b7037d6b5617461718cc /recipes-sota/aktualizr/aktualizr-auto-prov.bb | |
parent | 3289bddc47d52673495c5274cf5a62f98c41dc9b (diff) | |
download | meta-updater-85095e8dc9beda9a3c6e070bc303276ac02a7281.tar.gz |
Use *.toml files provided in aktualizr github repo
This enables backwards incompatible changes to configuration format
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-auto-prov.bb')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr-auto-prov.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-auto-prov.bb b/recipes-sota/aktualizr/aktualizr-auto-prov.bb index 4436d48..e44530a 100644 --- a/recipes-sota/aktualizr/aktualizr-auto-prov.bb +++ b/recipes-sota/aktualizr/aktualizr-auto-prov.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/advancedtelematic/aktualizr" | |||
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | LICENSE = "MPL-2.0" | 5 | LICENSE = "MPL-2.0" |
6 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3" | 6 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3" |
7 | DEPENDS = "zip-native" | 7 | DEPENDS = "aktualizr-native zip-native" |
8 | RDEPENDS_${PN} = "aktualizr" | 8 | RDEPENDS_${PN} = "aktualizr" |
9 | PV = "1.0" | 9 | PV = "1.0" |
10 | PR = "6" | 10 | PR = "6" |
@@ -12,7 +12,6 @@ PR = "6" | |||
12 | SRC_URI = " \ | 12 | SRC_URI = " \ |
13 | file://LICENSE \ | 13 | file://LICENSE \ |
14 | file://aktualizr.service \ | 14 | file://aktualizr.service \ |
15 | file://sota_autoprov.toml \ | ||
16 | " | 15 | " |
17 | 16 | ||
18 | SYSTEMD_SERVICE_${PN} = "aktualizr.service" | 17 | SYSTEMD_SERVICE_${PN} = "aktualizr.service" |
@@ -39,7 +38,7 @@ do_install_append() { | |||
39 | install -d ${D}/${systemd_unitdir}/system | 38 | install -d ${D}/${systemd_unitdir}/system |
40 | install -m 0644 ${WORKDIR}/aktualizr.service ${D}/${systemd_unitdir}/system/aktualizr.service | 39 | install -m 0644 ${WORKDIR}/aktualizr.service ${D}/${systemd_unitdir}/system/aktualizr.service |
41 | install -d ${D}${libdir}/sota | 40 | install -d ${D}${libdir}/sota |
42 | install -m "0644" ${WORKDIR}/sota_autoprov.toml ${D}${libdir}/sota/sota.toml | 41 | install -m "0644" ${STAGING_DIR_NATIVE}/${libdir}/sota/sota_autoprov.toml ${D}${libdir}/sota/sota.toml |
43 | 42 | ||
44 | # deploy SOTA credentials | 43 | # deploy SOTA credentials |
45 | if [ -e ${SOTA_PACKED_CREDENTIALS} ]; then | 44 | if [ -e ${SOTA_PACKED_CREDENTIALS} ]; then |