summaryrefslogtreecommitdiffstats
path: root/meta-agl-distro/conf/distro
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-01-13 17:54:12 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-01-14 16:35:52 +0000
commit1d7769b7c0b379e68b46680a6dd3ebc4ab1e71a4 (patch)
treef0bbb91c531b794aa461afdaf70a3f6c066cda0e /meta-agl-distro/conf/distro
parent318055748074b44261845d1a0a72901c1f1e6cab (diff)
meta-agl-profile-core: Add dev-mapping-ci recipe
Add a dev-mapping-ci recipe that installs a CI specific version of /etc/dev-mapping.conf for the agl-service-can-low-level binding. Additionally, the now required "j1939" bus mapping has been added to the default dev-mapping recipe's conf file. To enable use of the new recipe, the definition of the variable PREFERRED_RPROVIDER_virtual/low-can-dev-mapping has been updated in poky-agl.conf to enables it based on the AGLCI DISTRO_FEATURE. Bug-AGL: SPEC-3756 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia980ed5e556bad9097ca0c305d1e26b21b10a9ac Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25908 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-distro/conf/distro')
-rw-r--r--meta-agl-distro/conf/distro/poky-agl.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-agl-distro/conf/distro/poky-agl.conf b/meta-agl-distro/conf/distro/poky-agl.conf
index f6dc00d84..e418f4cdf 100644
--- a/meta-agl-distro/conf/distro/poky-agl.conf
+++ b/meta-agl-distro/conf/distro/poky-agl.conf
@@ -189,7 +189,7 @@ do_package_write_rpm[vardepsexclude] += "ARCHIVER_TOPDIR PF"
PREFERRED_RPROVIDER_virtual/navigation ?= "ondemandnavi"
# Set preferred provider for low-can device mapping configuration
-PREFERRED_RPROVIDER_virtual/low-can-dev-mapping ?= "dev-mapping"
+PREFERRED_RPROVIDER_virtual/low-can-dev-mapping ?= "${@bb.utils.contains('DISTRO_FEATURES', 'AGLCI', 'dev-mapping-ci', 'dev-mapping', d)}"
# Mask upstream meta-security bbappend that interferes with non-linux-yocto
# kernels due to the bug of having two wildcards, which bitbake does not