Get the newest aktualizr using sqlstorage
@@ -21,7 +21,7 @@ SRC_URI = " \
file://aktualizr.service \
file://aktualizr-serialcan.service \
"
-SRCREV = "e53f2a5747bba3e4f40609aa27f3d89e80c2d784"
+SRCREV = "e1f27b92ec9eaffab4a2091a5aeecb0b4c540c58"
BRANCH ?= "master"
S = "${WORKDIR}/git"
@@ -48,6 +48,9 @@ do_install_append_class-target () {
install -d ${D}${systemd_unitdir}/system
aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)}
install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service
+
+ install -d ${D}${libdir}/sota/schemas
+ install -m 0755 ${S}/config/storage/* ${D}${libdir}/sota/schemas
}
do_install_append_class-native () {
rm -f ${D}${bindir}/aktualizr
@@ -66,6 +69,7 @@ FILES_${PN}_class-target = " \
${bindir}/aktualizr \
${bindir}/aktualizr-info \
${systemd_unitdir}/system/aktualizr.service \
+ ${libdir}/sota/schemas \
"
FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-example', ' ${bindir}/example-interface', '', d)} "
FILES_${PN}_append_class-target = " ${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'secondary-isotp-example', ' ${bindir}/isotp-test-interface', '', d)} "
