aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-config/dev-mapping/dev-mapping_0.1.bb
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-01-25 09:44:56 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2018-01-25 13:40:00 +0000
commit9b021c0e3a2ef0cdd21a8ca03d9586c3c8f003c7 (patch)
treeb87226972e1e0d4c5471acba4879aaa53f186abe /meta-app-framework/recipes-config/dev-mapping/dev-mapping_0.1.bb
parent35957c43026b168cc7a70cac3e2649245b81f710 (diff)
Provides default dev-mapping.conf file in images
Bug-AGL: SPEC-1121 Change-Id: Id31e34af1276682dbe39457a145889f0d0c7e7c3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'meta-app-framework/recipes-config/dev-mapping/dev-mapping_0.1.bb')
-rw-r--r--meta-app-framework/recipes-config/dev-mapping/dev-mapping_0.1.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-app-framework/recipes-config/dev-mapping/dev-mapping_0.1.bb b/meta-app-framework/recipes-config/dev-mapping/dev-mapping_0.1.bb
new file mode 100644
index 000000000..befb5443f
--- /dev/null
+++ b/meta-app-framework/recipes-config/dev-mapping/dev-mapping_0.1.bb
@@ -0,0 +1,18 @@
+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 \
+ used in low-can binding by example."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += "file://dev-mapping.conf.default"
+
+do_install() {
+ install -d ${D}${sysconfdir}
+ install -m 0644 ${WORKDIR}/dev-mapping.conf.default ${D}${sysconfdir}/dev-mapping.conf
+}