From: Scott Murray Date: Fri, 24 Nov 2023 05:20:45 +0000 (-0500) Subject: Explicitly add CA certificate package to cluster images X-Git-Tag: 16.91.0~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-demo.git;a=commitdiff_plain;h=b5ca98fe204a7ec6f4a1cf84c19ffeb5f4deb128 Explicitly add CA certificate package to cluster images Explicitly add kuksa-certificates-ca-agl to the cluster demo images so it will be included in both regular and agl-demo-preload builds. Also remove obsolete dependency on kuksa-certificates-client-agl from the cluster-dashboard recipe, and kuksa-databroker RRECOMMENDS from the libqtappfw recipe to fix the regular vs agl-demo-preload behavior for the agl-cluster-demo-platform build. Bug-AGL: SPEC-4986 Change-Id: I62b1d976c66824fde50a3effdcdd34b428e82d54 Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29472 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account --- diff --git a/recipes-demo/cluster-dashboard/cluster-dashboard_git.bb b/recipes-demo/cluster-dashboard/cluster-dashboard_git.bb index 1404f6715..fc0b35cdb 100644 --- a/recipes-demo/cluster-dashboard/cluster-dashboard_git.bb +++ b/recipes-demo/cluster-dashboard/cluster-dashboard_git.bb @@ -54,5 +54,4 @@ RDEPENDS:${PN} += " \ qtquickcontrols2-qmlplugins \ qtgraphicaleffects-qmlplugins \ qtsvg-plugins \ - kuksa-val-certificates-client \ " diff --git a/recipes-demo/libqtappfw/libqtappfw_git.bb b/recipes-demo/libqtappfw/libqtappfw_git.bb index 461889faa..6c9080848 100644 --- a/recipes-demo/libqtappfw/libqtappfw_git.bb +++ b/recipes-demo/libqtappfw/libqtappfw_git.bb @@ -32,6 +32,6 @@ inherit meson pkgconfig EXTRA_OEMESON += "-Dprotos=${STAGING_INCDIR}" -RRECOMMENDS:${PN} += "bluez5 connman mpd kuksa-databroker" +RRECOMMENDS:${PN} += "bluez5 connman mpd" BBCLASSEXTEND = "nativesdk" diff --git a/recipes-platform/images/agl-cluster-demo-platform-flutter.bb b/recipes-platform/images/agl-cluster-demo-platform-flutter.bb index a4620fc91..ff3816d98 100644 --- a/recipes-platform/images/agl-cluster-demo-platform-flutter.bb +++ b/recipes-platform/images/agl-cluster-demo-platform-flutter.bb @@ -9,7 +9,7 @@ IMAGE_FEATURES += "splash package-management ssh-server-openssh" # Break out KUKSA.val packages, as demo unit configuration # points at KUKSA.val server on the IVI board in full demo # builds with the "agl-demo-preload" feature enabled. -IMAGE_KUKSA_PACKAGES = " \ +KUKSA_DATABROKER_PACKAGES = " \ packagegroup-agl-kuksa-val-databroker \ ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'packagegroup-agl-kuksa-val-databroker-devel' , '', d)} \ " @@ -23,7 +23,8 @@ IMAGE_INSTALL += "\ packagegroup-agl-networking \ cluster-receiver \ \ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "${IMAGE_KUKSA_PACKAGES}", d)} \ + kuksa-certificates-agl-ca \ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "${KUKSA_DATABROKER_PACKAGES}", d)} \ simple-can-simulator \ " diff --git a/recipes-platform/images/agl-cluster-demo-platform.bb b/recipes-platform/images/agl-cluster-demo-platform.bb index 385d7809a..a49924678 100644 --- a/recipes-platform/images/agl-cluster-demo-platform.bb +++ b/recipes-platform/images/agl-cluster-demo-platform.bb @@ -13,7 +13,7 @@ REQUIRED_DISTRO_FEATURES = "wayland" # Break out KUKSA.val packages, as demo unit configuration # points at KUKSA.val server on the IVI board in full demo # builds with the "agl-demo-preload" feature enabled. -IMAGE_KUKSA_PACKAGES = " \ +KUKSA_DATABROKER_PACKAGES = " \ packagegroup-agl-kuksa-val-databroker \ ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'packagegroup-agl-kuksa-val-databroker-devel' , '', d)} \ " @@ -21,8 +21,9 @@ IMAGE_KUKSA_PACKAGES = " \ # add packages for cluster demo platform (include demo apps) here IMAGE_INSTALL += " \ packagegroup-agl-cluster-demo-platform \ + kuksa-certificates-agl-ca \ ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "cluster-demo-config", "", d)} \ ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "weston-ini-conf-landscape-inverted", "weston-ini-conf-landscape", d)} \ - ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "${IMAGE_KUKSA_PACKAGES}", d)} \ + ${@bb.utils.contains("AGL_FEATURES", "agl-demo-preload", "", "${KUKSA_DATABROKER_PACKAGES}", d)} \ ${@bb.utils.contains("AGL_FEATURES", "AGLCI", "qemu-set-display", "", d)} \ "