From 9d9c7970c89d2b43d9515db2e5fd1001026b0eb3 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 7 Dec 2022 19:00:11 +0900 Subject: Remove demo sllin configuration Remove recipes providing sllin configuration for the full demo, as all LIN usage is being replaced with CAN. The recipes for the sllin driver and associated lin_config utility are kept for now in case there are external uses. Bug-AGL: SPEC-4635 Change-Id: I67b7acf5a8c3801cb1890ee27486080255252385 Signed-off-by: Scott Murray --- .../kuksa-val/kuksa-dbc-feeder-sllin.bb | 34 ---------------------- .../kuksa-dbc-feeder-sllin/config-sllin.ini | 21 ------------- .../kuksa-dbc-feeder-sllin.service | 12 -------- 3 files changed, 67 deletions(-) delete mode 100644 recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin.bb delete mode 100644 recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin/config-sllin.ini delete mode 100644 recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin/kuksa-dbc-feeder-sllin.service (limited to 'recipes-connectivity/kuksa-val') diff --git a/recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin.bb b/recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin.bb deleted file mode 100644 index 0a86cbbb9..000000000 --- a/recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin.bb +++ /dev/null @@ -1,34 +0,0 @@ -SUMMARY = "Demo LIN configuration for DBC feeder for KUKSA.val" -HOMEPAGE = "https://github.com/eclipse/kuksa.val" -BUGTRACKER = "https://github.com/eclipse/kuksa.val/issues" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -SRC_URI += "file://config-sllin.ini \ - file://kuksa-dbc-feeder-sllin.service \ -" - -inherit allarch systemd - -SYSTEMD_SERVICE:${PN} = "${BPN}.service" - -do_install() { - # NOTE: Installing into same /etc directory as the main configuration for now, - # this may be worth re-evaluating at some point (e.g. splitting the DBC - # files, having a dedicated token, etc.). - install -d ${D}${sysconfdir}/kuksa-dbc-feeder - install -m 0644 ${WORKDIR}/config-sllin.ini ${D}${sysconfdir}/kuksa-dbc-feeder/ - if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/kuksa-dbc-feeder-sllin.service ${D}${systemd_system_unitdir} - fi -} - -FILES:${PN} += "${systemd_system_unitdir}" - -RDEPENDS:${PN} += " \ - kuksa-dbc-feeder \ - can-dev-helper \ - sllin-demo \ -" diff --git a/recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin/config-sllin.ini b/recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin/config-sllin.ini deleted file mode 100644 index 24d637954..000000000 --- a/recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin/config-sllin.ini +++ /dev/null @@ -1,21 +0,0 @@ -[general] -# use case: -# switch between databroker and kuksa -# default kuksa -usecase = kuksa -# VSS mapping file -mapping=/etc/kuksa-dbc-feeder/mapping.yml - -[kuksa_val] -# kuksa VSS server address -server=wss://localhost:8090 -# JWT security token file -token=/etc/kuksa-dbc-feeder/dbc_feeder.json.token - -[can] -# CAN port -port=sllin0 -#Enable SAE-J1939 Mode. False: ignore -j1939=False -# DBC file used to parse CAN messages -dbcfile=/etc/kuksa-dbc-feeder/agl-vcar.dbc diff --git a/recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin/kuksa-dbc-feeder-sllin.service b/recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin/kuksa-dbc-feeder-sllin.service deleted file mode 100644 index 8f830de79..000000000 --- a/recipes-connectivity/kuksa-val/kuksa-dbc-feeder-sllin/kuksa-dbc-feeder-sllin.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Eclipse KUKSA.val DBC feeder (sllin0) -Requires=kuksa-val.service sllin-demo.service -After=kuksa-val.service sllin-demo.service - -[Service] -ExecStartPre=/usr/sbin/can-dev-helper.sh /etc/kuksa-dbc-feeder/config-sllin.ini -ExecStart=/usr/bin/dbcfeeder.py --config /etc/kuksa-dbc-feeder/config-sllin.ini -Restart=on-failure - -[Install] -WantedBy=multi-user.target -- cgit 1.2.3-korg