1 SUMMARY = "DBC feeder for KUKSA.val, the KUKSA Vehicle Abstraction Layer"
2 HOMEPAGE = "https://github.com/eclipse/kuksa.val"
3 BUGTRACKER = "https://github.com/eclipse/kuksa.val/issues"
6 LIC_FILES_CHKSUM = "file://LICENSE;md5=d9fc0efef5228704e7f5b37f27192723"
8 DEPENDS = "python3-setuptools-git-versioning-native"
12 SRC_URI += "file://0001-dbc2val-add-installation-mechanism.patch \
13 file://0002-dbc2val-usability-improvements.patch \
15 file://dbc_feeder.json.token \
18 file://kuksa-dbc-feeder.service \
21 inherit setuptools3 systemd
23 DISTUTILS_SETUP_PATH = "${S}/kuksa_feeders"
25 # This is a bit of a workaround as the sed in distutils.bbclass
26 # will remove the -S already present in the script otherwise,
28 DISTUTILS_PYTHON = "-S\ python3"
30 SYSTEMD_SERVICE:${PN} = "${BPN}.service"
33 install -d ${D}${sysconfdir}/kuksa-dbc-feeder
34 install -m 0644 ${WORKDIR}/config.ini ${D}${sysconfdir}/kuksa-dbc-feeder/
35 # Token should ideally not be readable by other users.
36 # The potential for running the feeder as non-root will take some
38 install -m 0600 ${WORKDIR}/dbc_feeder.json.token ${D}${sysconfdir}/kuksa-dbc-feeder/
39 install -m 0644 ${WORKDIR}/mapping.yml ${D}${sysconfdir}/kuksa-dbc-feeder/
40 install -m 0644 ${WORKDIR}/agl-vcar.dbc ${D}${sysconfdir}/kuksa-dbc-feeder/
41 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
42 install -d ${D}${systemd_system_unitdir}
43 install -m 0644 ${WORKDIR}/kuksa-dbc-feeder.service ${D}${systemd_system_unitdir}
47 FILES:${PN} += "${systemd_system_unitdir}"
55 python3-py-expression-eval \