summaryrefslogtreecommitdiffstats
path: root/meta-agl-kuksa-val/recipes-support/vss
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-11-20 19:14:22 -0500
committerScott Murray <scott.murray@konsulko.com>2024-11-23 20:25:56 +0000
commitd21658f508c70859907f4c1687b623cadaf2c3d3 (patch)
tree66d022dae368d2aee48c826e4dd4d7a9faa2d1ee /meta-agl-kuksa-val/recipes-support/vss
parent19d54a057aa6eca348bbf9847d7dd8804006cd4f (diff)
meta-agl-kuksa-val: upgrade to VSS 5.0
Update the vss-tools and vss recipes to upgrade to the 5.0 release. This requires some updates to the supplied Python module recipes for vss-tools, including some new bbappends to enable native support for a few modules. Bug-AGL: SPEC-5299 Change-Id: Idb6a5f4d28a05dc7040a09465f6d903631bcadef Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30533
Diffstat (limited to 'meta-agl-kuksa-val/recipes-support/vss')
-rw-r--r--meta-agl-kuksa-val/recipes-support/vss/vss-tools_5.0.bb (renamed from meta-agl-kuksa-val/recipes-support/vss/vss-tools_4.2.bb)8
-rw-r--r--meta-agl-kuksa-val/recipes-support/vss/vss.inc6
-rw-r--r--meta-agl-kuksa-val/recipes-support/vss/vss_5.0.bb (renamed from meta-agl-kuksa-val/recipes-support/vss/vss_4.2.bb)4
3 files changed, 10 insertions, 8 deletions
diff --git a/meta-agl-kuksa-val/recipes-support/vss/vss-tools_4.2.bb b/meta-agl-kuksa-val/recipes-support/vss/vss-tools_5.0.bb
index 62f78f07e..7743efbd7 100644
--- a/meta-agl-kuksa-val/recipes-support/vss/vss-tools_4.2.bb
+++ b/meta-agl-kuksa-val/recipes-support/vss/vss-tools_5.0.bb
@@ -3,12 +3,12 @@ HOMEPAGE = "https://github.com/COVESA/vss-tools"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
-SRC_URI = "git://github.com/COVESA/vss-tools.git;protocol=https;branch=release/4.2"
-SRCREV = "b350788d6dd16942e987fdb9e8b8b3b403fe23c6"
+SRC_URI = "git://github.com/COVESA/vss-tools.git;protocol=https;branch=release/5.0"
+SRCREV = "9ba7f40c0995358a293aab729d57739c3e9b2829"
S = "${WORKDIR}/git"
-inherit setuptools3
+inherit python_poetry_core
RDEPENDS:${PN} += " \
python3-core \
@@ -24,6 +24,8 @@ RDEPENDS:${PN} += " \
python3-graphql-core \
python3-pyyaml \
python3-six \
+ python3-pydantic \
+ python3-rich-click \
"
BBCLASSEXTEND += "native nativesdk"
diff --git a/meta-agl-kuksa-val/recipes-support/vss/vss.inc b/meta-agl-kuksa-val/recipes-support/vss/vss.inc
index aab950bee..7f12d3b61 100644
--- a/meta-agl-kuksa-val/recipes-support/vss/vss.inc
+++ b/meta-agl-kuksa-val/recipes-support/vss/vss.inc
@@ -1,5 +1,5 @@
-SRC_URI = "git://github.com/COVESA/vehicle_signal_specification.git;branch=release/4.2;protocol=https"
-# v4.2
-SRCREV = "6024c4b29065b37c074649a1a65396b9d4de9b55"
+SRC_URI = "git://github.com/COVESA/vehicle_signal_specification.git;branch=release/5.0;protocol=https"
+# v5.0
+SRCREV = "f23ba53be78a8bf2b8df2496bbfccb2860913892"
S = "${WORKDIR}/git"
diff --git a/meta-agl-kuksa-val/recipes-support/vss/vss_4.2.bb b/meta-agl-kuksa-val/recipes-support/vss/vss_5.0.bb
index 053516629..c400ed66f 100644
--- a/meta-agl-kuksa-val/recipes-support/vss/vss_4.2.bb
+++ b/meta-agl-kuksa-val/recipes-support/vss/vss_5.0.bb
@@ -27,7 +27,7 @@ do_install() {
# installing the vspec files somewhere as a development package may
# be useful, but for now things will be kept simple.
install -d ${D}${datadir}/vss
- install -m 0644 ${S}/vss_rel_${PV}.json ${D}${datadir}/vss/
+ install -m 0644 ${S}/vss.json ${D}${datadir}/vss/vss_${PV}.json
}
# NOTE:
@@ -40,4 +40,4 @@ do_install() {
ALTERNATIVE_LINK_NAME[vss.json] = "${datadir}/vss/vss.json"
ALTERNATIVE:${PN} = "vss.json"
-ALTERNATIVE_TARGET_${PN} = "${datadir}/vss/vss_rel_${PV}.json"
+ALTERNATIVE_TARGET_${PN} = "${datadir}/vss/vss_${PV}.json"