summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-10-26 10:02:16 +0200
committerGitHub <noreply@github.com>2018-10-26 10:02:16 +0200
commitb4754d39d6eebc624b1380d9ce5097bc597f5a44 (patch)
tree45b09c3ebffc50908b016ca5690714dcb0df0e0e
parentd2ca4d8b48a88570b612154703562b55b55ce0ca (diff)
parentfd344a4e41b59e3c0c3db40797e3a4bd45a78863 (diff)
downloadmeta-updater-b4754d39d6eebc624b1380d9ce5097bc597f5a44.tar.gz
Merge pull request #411 from advancedtelematic/fix/secondaries-path
Update aktualizr example secondary config path
-rwxr-xr-xrecipes-sota/aktualizr/aktualizr_git.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb
index 751f529..916ab4b 100755
--- a/recipes-sota/aktualizr/aktualizr_git.bb
+++ b/recipes-sota/aktualizr/aktualizr_git.bb
@@ -26,7 +26,8 @@ SRC_URI = " \
26 file://aktualizr-secondary.socket \ 26 file://aktualizr-secondary.socket \
27 file://aktualizr-serialcan.service \ 27 file://aktualizr-serialcan.service \
28 " 28 "
29SRCREV = "6b0114e4fad0619d16ed2063e8ff10e3fb8500f2" 29
30SRCREV = "39acfec48d1cb91e7621c818ac177f6d3c73fecc"
30BRANCH ?= "master" 31BRANCH ?= "master"
31 32
32S = "${WORKDIR}/git" 33S = "${WORKDIR}/git"
@@ -56,8 +57,6 @@ EXTRA_OECMAKE_append_class-native = " -DBUILD_SOTA_TOOLS=ON \
56 -DGARAGE_SIGN_SHA256=${GARAGE_SIGN_SHA256}" 57 -DGARAGE_SIGN_SHA256=${GARAGE_SIGN_SHA256}"
57 58
58do_install_append () { 59do_install_append () {
59 rm -fr ${D}${libdir}/systemd
60 rm -f ${D}${libdir}/sota/sota.toml # Only needed for the Debian package
61 install -d ${D}${libdir}/sota 60 install -d ${D}${libdir}/sota
62 install -m 0644 ${S}/config/sota_autoprov.toml ${D}/${libdir}/sota/sota_autoprov.toml 61 install -m 0644 ${S}/config/sota_autoprov.toml ${D}/${libdir}/sota/sota_autoprov.toml
63 install -m 0644 ${S}/config/sota_autoprov_primary.toml ${D}/${libdir}/sota/sota_autoprov_primary.toml 62 install -m 0644 ${S}/config/sota_autoprov_primary.toml ${D}/${libdir}/sota/sota_autoprov_primary.toml
@@ -95,7 +94,6 @@ FILES_${PN} = " \
95 " 94 "
96 95
97FILES_${PN}-examples = " \ 96FILES_${PN}-examples = " \
98 ${libdir}/sota/demo_secondary.json \
99 ${bindir}/hmi_stub \ 97 ${bindir}/hmi_stub \
100 " 98 "
101 99