diff options
Diffstat (limited to 'recipes-sota')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr_git.bb | 6 |
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 | " |
24 | SRCREV = "e53f2a5747bba3e4f40609aa27f3d89e80c2d784" | 24 | SRCREV = "e1f27b92ec9eaffab4a2091a5aeecb0b4c540c58" |
25 | BRANCH ?= "master" | 25 | BRANCH ?= "master" |
26 | 26 | ||
27 | S = "${WORKDIR}/git" | 27 | S = "${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 | } |
52 | do_install_append_class-native () { | 55 | do_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 | " |
70 | FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-example', ' ${bindir}/example-interface', '', d)} " | 74 | FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-example', ' ${bindir}/example-interface', '', d)} " |
71 | FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-isotp-example', ' ${bindir}/isotp-test-interface', '', d)} " | 75 | FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-isotp-example', ' ${bindir}/isotp-test-interface', '', d)} " |