1 DESCRIPTION = "SOTA Reference Implementation project - Client"
2 HOMEPAGE = "https://github.com/advancedtelematic/rvi_sota_client"
7 SRC_URI = "git://github.com/advancedtelematic/rvi_sota_client.git;protocol=https \
8 file://rvi-sota-client.service \
10 SRCREV="825be11b03f89c52e5441b3d26e1cbf63fd313dd"
11 LIC_FILES_CHKSUM="file://LICENSE;md5=65d26fcc2f35ea6a181ac777e42db1ea"
15 BBCLASSEXTEND = "native"
18 RDEPENDS_${PN} += "dbus-lib libcrypto libssl bash"
20 SYSTEMD_SERVICE_${PN} = "rvi-sota-client.service"
23 install -m 0755 -p -D ${S}/client.toml ${D}/var/sota/client.toml
24 install -m 0755 -p -D ${S}/docker/run.sh ${D}${bindir}/run.sh
25 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
26 install -p -D ${WORKDIR}/rvi-sota-client.service ${D}${systemd_unitdir}/system/rvi-sota-client.service
32 git://github.com/diwic/dbus-rs.git;protocol=https;name=dbus-rs;destsuffix=dbus-rs \
33 file://dbus-rs/0001-Cast-correctly-c_char-raw-pointers-for-ARM.patch;patchdir=../dbus-rs \
37 SRCREV_dbus-rs = "c2c4c98adcf9949992ac5b0050bf17afe10868c9"
39 SRCREV_FORMAT .= "_dbus-rs"
40 EXTRA_OECARGO_PATHS += "${WORKDIR}/dbus-rs"
43 SRC_URI += "git://github.com/sfackler/rust-openssl.git;protocol=https;name=rust-openssl;destsuffix=rust-openssl "
46 SRCREV_rust-openssl = "d6bc3bb16f2673f610e9310041fc030ea9b90187"
48 SRCREV_FORMAT .= "_rust-openssl"
49 EXTRA_OECARGO_PATHS += "${WORKDIR}/rust-openssl"
52 SRC_URI += "git://github.com/hyperium/hyper.git;protocol=https;name=hyper;destsuffix=hyper "
55 SRCREV_hyper = "4828437551c7f5ed3f54acb1c1bf1fd50a6a3516"
57 SRCREV_FORMAT .= "_hyper"
58 EXTRA_OECARGO_PATHS += "${WORKDIR}/hyper"