summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-config/dev-mapping/dev-mapping_0.1.bb
blob: 8c067fdae2b14c4763431726c1638b97fe6573f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"

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
    install -m 0644 ${WORKDIR}/socketcan-slcan0.service.default ${D}${sysconfdir}/systemd/system/socketcan-slcan0.service
}

RPROVIDES_${PN} = "virtual/low-can-dev-mapping"