summaryrefslogtreecommitdiffstats
path: root/recipes-platform/images/agl-ivi-demo-features.inc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-02-20 13:04:54 -0500
committerScott Murray <scott.murray@konsulko.com>2024-03-19 11:44:53 +0000
commit62564777c4562f79519b5bd36cac53a187b526a5 (patch)
tree690b4ebb4b1de092421c043f9e5a0c5b2fae0f79 /recipes-platform/images/agl-ivi-demo-features.inc
parent3909ee206c177c7130c5d5a5f9b25aaad9897866 (diff)
Add CAN test tools image feature
Add can-test-tools image feature and use it to remove duplication of adding the tools to various images. Bug-AGL: SPEC-5083 Change-Id: I4f4eec87eb26825f69f056183829feab7d90caf5 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29700 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account (cherry picked from commit 188db67d4205a7d37c374cc20d9d3bd90324cb41) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29761
Diffstat (limited to 'recipes-platform/images/agl-ivi-demo-features.inc')
-rw-r--r--recipes-platform/images/agl-ivi-demo-features.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-platform/images/agl-ivi-demo-features.inc b/recipes-platform/images/agl-ivi-demo-features.inc
index 19a7792eb..eb4d253c9 100644
--- a/recipes-platform/images/agl-ivi-demo-features.inc
+++ b/recipes-platform/images/agl-ivi-demo-features.inc
@@ -3,7 +3,10 @@ require agl-demo-features.inc
FEATURE_PACKAGES_agl-demo-preload = "packagegroup-agl-demo-preload"
FEATURE_PACKAGES_agl-demo-cluster-support = "packagegroup-agl-demo-cluster-support"
-IMAGE_FEATURES += "${@bb.utils.filter("AGL_FEATURES", "agl-demo-preload agl-demo-cluster-support", d)}"
+IMAGE_FEATURES += " \
+ ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", "can-test-tools" , "", d)} \
+ ${@bb.utils.filter("AGL_FEATURES", "agl-demo-preload agl-demo-cluster-support", d)} \
+"
IMAGE_FEATURES += " \
kuksa-val-databroker-client \