summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-auto-prov.bb
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-11-30 10:41:38 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2017-12-04 16:26:44 +0100
commit85095e8dc9beda9a3c6e070bc303276ac02a7281 (patch)
treeeb9d16e4d6d608b26de2b7037d6b5617461718cc /recipes-sota/aktualizr/aktualizr-auto-prov.bb
parent3289bddc47d52673495c5274cf5a62f98c41dc9b (diff)
downloadmeta-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.bb5
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"
4SECTION = "base" 4SECTION = "base"
5LICENSE = "MPL-2.0" 5LICENSE = "MPL-2.0"
6LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3" 6LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3"
7DEPENDS = "zip-native" 7DEPENDS = "aktualizr-native zip-native"
8RDEPENDS_${PN} = "aktualizr" 8RDEPENDS_${PN} = "aktualizr"
9PV = "1.0" 9PV = "1.0"
10PR = "6" 10PR = "6"
@@ -12,7 +12,6 @@ PR = "6"
12SRC_URI = " \ 12SRC_URI = " \
13 file://LICENSE \ 13 file://LICENSE \
14 file://aktualizr.service \ 14 file://aktualizr.service \
15 file://sota_autoprov.toml \
16 " 15 "
17 16
18SYSTEMD_SERVICE_${PN} = "aktualizr.service" 17SYSTEMD_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