summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Luck <ben+qa@advancedtelematic.com>2018-01-25 12:15:46 +0100
committerGitHub <noreply@github.com>2018-01-25 12:15:46 +0100
commit942abd25fb6860c1b3cbc268aae78965c89e5262 (patch)
tree7e6ea212ba7ea44c41810cefaf89eedb325b81fd
parent400f69f15eaac3b389862e251c0a32d1db2097de (diff)
parent1f78561ca3de7609877097642b41e527a1294569 (diff)
downloadmeta-updater-942abd25fb6860c1b3cbc268aae78965c89e5262.tar.gz
Merge pull request #228 from advancedtelematic/feat/PRO-4630/sqlite
Get the newest aktualizr using sqlstorage
-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..3925922 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 = "37fbf0dfd88d42d76301890818dc4e83b35d9fa4"
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)} "