From bed706f77aa05337469617687ffc3bef13523cd2 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Sun, 29 Dec 2019 18:16:54 -0500 Subject: dev-mapping: Add RPROVIDES mechanism Add RPROVIDES and PREFFERED_RPROVIDER definitions to define a new virtual/low-can-dev-mapping runtime package dependency that will enable providing a different device mapping configuration for demo setups. Bug-AGL: SPEC-3076 Change-Id: I73d253a0a1285dd4576bb3b5bf04568c3d05e60c Signed-off-by: Scott Murray --- .../recipes-config/dev-mapping/dev-mapping_0.1.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta-agl-profile-core/recipes-config') diff --git a/meta-agl-profile-core/recipes-config/dev-mapping/dev-mapping_0.1.bb b/meta-agl-profile-core/recipes-config/dev-mapping/dev-mapping_0.1.bb index befb5443f..1309ffa20 100644 --- a/meta-agl-profile-core/recipes-config/dev-mapping/dev-mapping_0.1.bb +++ b/meta-agl-profile-core/recipes-config/dev-mapping/dev-mapping_0.1.bb @@ -1,5 +1,3 @@ -inherit allarch - SUMMARY = "AGL Device mapping configuration file" DESCRIPTION = "This provide default dev-mapping.conf file \ that defines mapping between kernel device and logical name \ @@ -8,11 +6,13 @@ DESCRIPTION = "This provide default dev-mapping.conf file \ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - SRC_URI += "file://dev-mapping.conf.default" +inherit allarch + do_install() { install -d ${D}${sysconfdir} install -m 0644 ${WORKDIR}/dev-mapping.conf.default ${D}${sysconfdir}/dev-mapping.conf } + +RPROVIDES_${PN} = "virtual/low-can-dev-mapping" -- cgit 1.2.3-korg