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 \
14 file://0003-dbc2val-add-duplicate-filtering-option.patch \
16 file://dbc_feeder.json.token \
19 file://kuksa-dbc-feeder.service \
22 inherit setuptools3 systemd
24 DISTUTILS_SETUP_PATH = "${S}/kuksa_feeders"
26 # This is a bit of a workaround as the sed in distutils.bbclass
27 # will remove the -S already present in the script otherwise,
29 DISTUTILS_PYTHON = "-S\ python3"
31 SYSTEMD_SERVICE:${PN} = "${BPN}.service"
34 install -d ${D}${sysconfdir}/kuksa-dbc-feeder
35 install -m 0644 ${WORKDIR}/config.ini ${D}${sysconfdir}/kuksa-dbc-feeder/
36 # Token should ideally not be readable by other users.
37 # The potential for running the feeder as non-root will take some
39 install -m 0600 ${WORKDIR}/dbc_feeder.json.token ${D}${sysconfdir}/kuksa-dbc-feeder/
40 install -m 0644 ${WORKDIR}/mapping.yml ${D}${sysconfdir}/kuksa-dbc-feeder/
41 install -m 0644 ${WORKDIR}/agl-vcar.dbc ${D}${sysconfdir}/kuksa-dbc-feeder/
42 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
43 install -d ${D}${systemd_system_unitdir}
44 install -m 0644 ${WORKDIR}/kuksa-dbc-feeder.service ${D}${systemd_system_unitdir}
48 FILES:${PN} += "${systemd_system_unitdir}"
56 python3-py-expression-eval \