summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-sota/aktualizr/aktualizr_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb
index 872ae9a..67ec104 100644
--- a/recipes-sota/aktualizr/aktualizr_git.bb
+++ b/recipes-sota/aktualizr/aktualizr_git.bb
@@ -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)} "