summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev-extraconf_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/udev/udev-extraconf_1.0.bb')
-rw-r--r--meta/recipes-core/udev/udev-extraconf_1.0.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/udev-extraconf_1.0.bb b/meta/recipes-core/udev/udev-extraconf_1.0.bb
new file mode 100644
index 0000000..3810b28
--- /dev/null
+++ b/meta/recipes-core/udev/udev-extraconf_1.0.bb
@@ -0,0 +1,41 @@
1SUMMARY = "Extra machine specific configuration files"
2DESCRIPTION = "Extra machine specific configuration files for udev, specifically blacklist information."
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
5 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
6
7PR = "r16"
8
9SRC_URI = " \
10 file://automount.rules \
11 file://mount.sh \
12 file://mount.blacklist \
13 file://autonet.rules \
14 file://network.sh \
15 file://localextra.rules \
16"
17
18
19do_install() {
20 install -d ${D}${sysconfdir}/udev/rules.d
21
22 install -m 0644 ${WORKDIR}/automount.rules ${D}${sysconfdir}/udev/rules.d/automount.rules
23 install -m 0644 ${WORKDIR}/autonet.rules ${D}${sysconfdir}/udev/rules.d/autonet.rules
24 install -m 0644 ${WORKDIR}/localextra.rules ${D}${sysconfdir}/udev/rules.d/localextra.rules
25
26 install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/
27
28 install -d ${D}${sysconfdir}/udev/scripts/
29
30 install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh
31 install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts
32}
33
34FILES_${PN} = "${sysconfdir}/udev"
35RDEPENDS_${PN} = "udev"
36CONFFILES_${PN} = "${sysconfdir}/udev/mount.blacklist"
37
38# to replace udev-extra-rules from meta-oe
39RPROVIDES_${PN} = "udev-extra-rules"
40RREPLACES_${PN} = "udev-extra-rules"
41RCONFLICTS_${PN} = "udev-extra-rules"