From 1d7769b7c0b379e68b46680a6dd3ebc4ab1e71a4 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 13 Jan 2021 17:54:12 -0500 Subject: 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 Change-Id: Ia980ed5e556bad9097ca0c305d1e26b21b10a9ac Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25908 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- meta-agl-distro/conf/distro/poky-agl.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-agl-distro') 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 -- cgit 1.2.3-korg