summaryrefslogtreecommitdiffstats
path: root/recipes-sota
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2018-01-16 09:49:50 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2018-01-16 09:53:25 +0100
commit28d1c1cd6f6ff93bdb1b89e5bdb5a9d065052e3d (patch)
tree4514456efe9408b2b533dcb44967d0fc6839aedc /recipes-sota
parent0afff0c944763238026283fbb409d038705c6b13 (diff)
downloadmeta-updater-28d1c1cd6f6ff93bdb1b89e5bdb5a9d065052e3d.tar.gz
Get the newest aktualizr using sqlstorage
Diffstat (limited to 'recipes-sota')
-rw-r--r--recipes-sota/aktualizr/aktualizr_git.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb
index 48ed652..ebbb403 100644
--- a/recipes-sota/aktualizr/aktualizr_git.bb
+++ b/recipes-sota/aktualizr/aktualizr_git.bb
@@ -21,7 +21,7 @@ SRC_URI = " \
21 file://aktualizr.service \ 21 file://aktualizr.service \
22 file://aktualizr-serialcan.service \ 22 file://aktualizr-serialcan.service \
23 " 23 "
24SRCREV = "e53f2a5747bba3e4f40609aa27f3d89e80c2d784" 24SRCREV = "e1f27b92ec9eaffab4a2091a5aeecb0b4c540c58"
25BRANCH ?= "master" 25BRANCH ?= "master"
26 26
27S = "${WORKDIR}/git" 27S = "${WORKDIR}/git"
@@ -48,6 +48,9 @@ do_install_append_class-target () {
48 install -d ${D}${systemd_unitdir}/system 48 install -d ${D}${systemd_unitdir}/system
49 aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)} 49 aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)}
50 install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service 50 install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service
51
52 install -d ${D}${libdir}/sota/schemas
53 install -m 0755 ${S}/config/storage/* ${D}${libdir}/sota/schemas
51} 54}
52do_install_append_class-native () { 55do_install_append_class-native () {
53 rm -f ${D}${bindir}/aktualizr 56 rm -f ${D}${bindir}/aktualizr
@@ -66,6 +69,7 @@ FILES_${PN}_class-target = " \
66 ${bindir}/aktualizr \ 69 ${bindir}/aktualizr \
67 ${bindir}/aktualizr-info \ 70 ${bindir}/aktualizr-info \
68 ${systemd_unitdir}/system/aktualizr.service \ 71 ${systemd_unitdir}/system/aktualizr.service \
72 ${libdir}/sota/schemas \
69 " 73 "
70FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-example', ' ${bindir}/example-interface', '', d)} " 74FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-example', ' ${bindir}/example-interface', '', d)} "
71FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-isotp-example', ' ${bindir}/isotp-test-interface', '', d)} " 75FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-isotp-example', ' ${bindir}/isotp-test-interface', '', d)} "