diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2016-01-15 17:30:44 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2016-01-15 17:30:44 +0100 |
commit | 7a99472f8509aad0799895d75e1326b76d332e21 (patch) | |
tree | 52e2e907a4bccafd45b248f1354b8093e6652253 /recipes-core/udev/udev-rules-qoriq.bb | |
download | meta-fsl-ppc-7a99472f8509aad0799895d75e1326b76d332e21.tar.gz |
initial commit for Enea Linux 5.0-ppc
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-core/udev/udev-rules-qoriq.bb')
-rw-r--r-- | recipes-core/udev/udev-rules-qoriq.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-core/udev/udev-rules-qoriq.bb b/recipes-core/udev/udev-rules-qoriq.bb new file mode 100644 index 0000000..546f9e8 --- /dev/null +++ b/recipes-core/udev/udev-rules-qoriq.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "udev rules for Freescale QorIQ SOCs" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" | ||
4 | |||
5 | SRC_URI = "\ | ||
6 | file://71-fsl-dpaa-persistent-networking.rules \ | ||
7 | file://72-fsl-dpaa-persistent-networking.rules \ | ||
8 | " | ||
9 | RULE ?= "71-fsl-dpaa-persistent-networking.rules" | ||
10 | RULE_e6500 = "72-fsl-dpaa-persistent-networking.rules" | ||
11 | RULE_e6500-64b = "72-fsl-dpaa-persistent-networking.rules" | ||
12 | RULE_t1024 = "72-fsl-dpaa-persistent-networking.rules" | ||
13 | |||
14 | do_install () { | ||
15 | install -d ${D}${sysconfdir}/udev/rules.d/ | ||
16 | install -m 0644 ${WORKDIR}/${RULE} ${D}${sysconfdir}/udev/rules.d/ | ||
17 | |||
18 | # skip mmc rpmb partitions | ||
19 | echo "/dev/mmcblk.*rpmb" >>${D}${sysconfdir}/udev/mount.blacklist | ||
20 | # skip nbd (network block device) | ||
21 | echo "/dev/nbd*" >>${D}${sysconfdir}/udev/mount.blacklist | ||
22 | } | ||
23 | |||