summaryrefslogtreecommitdiffstats
path: root/recipes-core/udev/udev-rules-rpi.bb
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2017-04-18 16:34:59 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2017-04-19 17:47:39 +0100
commit668446e2835b3d48f9eda6648a09a825fe61c04c (patch)
treef2410674c78529d7469af16c51cdf7a671e9b501 /recipes-core/udev/udev-rules-rpi.bb
parent8a450f0a8a9b9c421eef1a8a97432e7c93b0bb8e (diff)
downloadmeta-raspberrypi-668446e2835b3d48f9eda6648a09a825fe61c04c.tar.gz
udev: Create rules file to generate serial0/1
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'recipes-core/udev/udev-rules-rpi.bb')
-rw-r--r--recipes-core/udev/udev-rules-rpi.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-core/udev/udev-rules-rpi.bb b/recipes-core/udev/udev-rules-rpi.bb
new file mode 100644
index 0000000..20443d3
--- /dev/null
+++ b/recipes-core/udev/udev-rules-rpi.bb
@@ -0,0 +1,12 @@
1DESCRIPTION = "udev rules for Raspberry Pi Boards"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4
5SRC_URI = " file://99-com.rules"
6
7S = "${WORKDIR}"
8
9do_install () {
10 install -d ${D}${sysconfdir}/udev/rules.d
11 install -m 0644 ${WORKDIR}/99-com.rules ${D}${sysconfdir}/udev/rules.d/
12}