summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2017-12-07 11:31:08 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2017-12-12 11:02:38 +0100
commit599c048c03d3cd454270dc729e8ad746497588b2 (patch)
tree99b0d08833d5643292997196c5996588b1bd0f1c
parent904bc291f642f99302a8513d17ad02ff0544a543 (diff)
downloadmeta-updater-599c048c03d3cd454270dc729e8ad746497588b2.tar.gz
Properly install example-interface on target and remove it on host.
-rw-r--r--recipes-sota/aktualizr/aktualizr_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb
index 457abfd..fc65c51 100644
--- a/recipes-sota/aktualizr/aktualizr_git.bb
+++ b/recipes-sota/aktualizr/aktualizr_git.bb
@@ -18,7 +18,7 @@ PR = "7"
18SRC_URI = " \ 18SRC_URI = " \
19 git://github.com/advancedtelematic/aktualizr;branch=${BRANCH} \ 19 git://github.com/advancedtelematic/aktualizr;branch=${BRANCH} \
20 " 20 "
21SRCREV = "57e9cdb8aa1e8ee9e682628bd67031d9be7aaafa" 21SRCREV = "5bf2975aee4af667a1af17381bf68c34a00f03a3"
22BRANCH ?= "master" 22BRANCH ?= "master"
23 23
24S = "${WORKDIR}/git" 24S = "${WORKDIR}/git"
@@ -40,6 +40,7 @@ do_install_append_class-target () {
40do_install_append_class-native () { 40do_install_append_class-native () {
41 rm -f ${D}${bindir}/aktualizr 41 rm -f ${D}${bindir}/aktualizr
42 rm -f ${D}${bindir}/aktualizr-info 42 rm -f ${D}${bindir}/aktualizr-info
43 rm -f ${D}${bindir}/example-interface
43 install -d ${D}${libdir}/sota 44 install -d ${D}${libdir}/sota
44 install -m 0644 ${S}/config/sota_autoprov.toml ${D}/${libdir}/sota/sota_autoprov.toml 45 install -m 0644 ${S}/config/sota_autoprov.toml ${D}/${libdir}/sota/sota_autoprov.toml
45 install -m 0644 ${S}/config/sota_hsm_test.toml ${D}/${libdir}/sota/sota_hsm_test.toml 46 install -m 0644 ${S}/config/sota_hsm_test.toml ${D}/${libdir}/sota/sota_hsm_test.toml
@@ -49,6 +50,7 @@ do_install_append_class-native () {
49FILES_${PN}_class-target = " \ 50FILES_${PN}_class-target = " \
50 ${bindir}/aktualizr \ 51 ${bindir}/aktualizr \
51 ${bindir}/aktualizr-info \ 52 ${bindir}/aktualizr-info \
53 ${bindir}/example-interface \
52 " 54 "
53FILES_${PN}_class-native = " \ 55FILES_${PN}_class-native = " \
54 ${bindir}/aktualizr_implicit_writer \ 56 ${bindir}/aktualizr_implicit_writer \