summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/kuksa-val/kuksa-dbc-feeder_git.bb
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-06-18 16:30:05 -0400
committerScott Murray <scott.murray@konsulko.com>2024-06-20 02:04:33 +0000
commitec74e53f95f8a860bad8036ac492ae4a328f6b0c (patch)
tree3c3b64b2e165b6e265004b0f7a8c09972c0aefa1 /recipes-connectivity/kuksa-val/kuksa-dbc-feeder_git.bb
parentd9f9ddd177a57110d9c67ea438436c3160f8e429 (diff)
kuksa-dbc-feeder: Upgrade to kuksa-can-provider 0.4.3
Upgrade kuksa-dbc-feeder to 0.4.3 release, which includes a rename to kuksa-can-provider and a new location on github. All references to kuksa-dbc-feeder have been renamed throughout the tree to hopefully maintain consistency, though note that the actual script name upstream remains "dbcfeeder.py" at present. Bug-AGL: SPEC-5179 Change-Id: I88cf1c29187ad6cb882ee538a98e6e138aa76bfa Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30002 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
Diffstat (limited to 'recipes-connectivity/kuksa-val/kuksa-dbc-feeder_git.bb')
-rw-r--r--recipes-connectivity/kuksa-val/kuksa-dbc-feeder_git.bb66
1 files changed, 0 insertions, 66 deletions
diff --git a/recipes-connectivity/kuksa-val/kuksa-dbc-feeder_git.bb b/recipes-connectivity/kuksa-val/kuksa-dbc-feeder_git.bb
deleted file mode 100644
index 281f10ac3..000000000
--- a/recipes-connectivity/kuksa-val/kuksa-dbc-feeder_git.bb
+++ /dev/null
@@ -1,66 +0,0 @@
-SUMMARY = "DBC feeder for KUKSA.val, the KUKSA Vehicle Abstraction Layer"
-HOMEPAGE = "https://github.com/eclipse/kuksa.val"
-BUGTRACKER = "https://github.com/eclipse/kuksa.val/issues"
-
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=175792518e4ac015ab6696d16c4f607e"
-
-DEPENDS = "python3-setuptools-git-versioning-native"
-
-PV = "0.4.0+git${SRCPV}"
-
-SRC_URI = "git://github.com/eclipse/kuksa.val.feeders.git;protocol=https;branch=main \
- file://0001-dbc2val-add-installation-mechanism.patch \
- file://0002-dbc2val-usability-improvements.patch \
- file://0003-dbc2val-fix-token-file-configuration-option.patch \
- file://0004-Enable-val2dbc-for-sensor-values.patch \
- file://config.ini \
- file://dbc_feeder.token \
- file://agl-vcar.dbc \
- file://dbc_default_values.json \
- file://kuksa-dbc-feeder.service \
- file://kuksa-dbc-feeder.default \
- "
-SRCREV = "5bb52eca8d79f7c05a024f69b1faab81dabacdcd"
-
-S = "${WORKDIR}/git"
-
-inherit setuptools3 systemd update-alternatives
-
-SETUPTOOLS_SETUP_PATH = "${S}/dbc2val"
-
-SYSTEMD_SERVICE:${PN} = "${BPN}.service"
-
-do_install:append() {
- install -d ${D}${sysconfdir}/kuksa-dbc-feeder
- install -m 0644 ${WORKDIR}/config.ini ${D}${sysconfdir}/kuksa-dbc-feeder/
- # Token should ideally not be readable by other users.
- # The potential for running the feeder as non-root will take some
- # investigation.
- install -m 0600 ${WORKDIR}/dbc_feeder.token ${D}${sysconfdir}/kuksa-dbc-feeder/
- install -m 0644 ${WORKDIR}/agl-vcar.dbc ${D}${sysconfdir}/kuksa-dbc-feeder/
- install -m 0644 ${WORKDIR}/dbc_default_values.json ${D}${sysconfdir}/kuksa-dbc-feeder/
- install -d ${D}${sysconfdir}/default
- install -m 0644 ${WORKDIR}/kuksa-dbc-feeder.default ${D}${sysconfdir}/default/
- if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
- install -d ${D}${systemd_system_unitdir}
- install -m 0644 ${WORKDIR}/kuksa-dbc-feeder.service ${D}${systemd_system_unitdir}
- fi
-}
-
-ALTERNATIVE_LINK_NAME[kuksa-dbc-feeder.env] = "${sysconfdir}/default/kuksa-dbc-feeder"
-
-ALTERNATIVE_TARGET_${PN} = "${sysconfdir}/default/kuksa-dbc-feeder.default"
-FILES:${PN} += "${systemd_system_unitdir}"
-
-RDEPENDS:${PN} += " \
- bash \
- python3-pyserial \
- python3-cantools \
- python3-can \
- python3-can-j1939 \
- python3-pyyaml \
- python3-py-expression-eval \
- kuksa-client \
- can-dev-helper \
-"