diff options
Diffstat (limited to 'meta/packages/udev/udev_124.bb')
-rw-r--r-- | meta/packages/udev/udev_124.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/packages/udev/udev_124.bb b/meta/packages/udev/udev_124.bb new file mode 100644 index 0000000000..84c891021f --- /dev/null +++ b/meta/packages/udev/udev_124.bb | |||
@@ -0,0 +1,56 @@ | |||
1 | DESCRIPTION = "udev is a daemon which dynamically creates and removes device nodes from \ | ||
2 | /dev/, handles hotplug events and loads drivers at boot time. It replaces \ | ||
3 | the hotplug package and requires a kernel not older than 2.6.12." | ||
4 | RPROVIDES_${PN} = "hotplug" | ||
5 | |||
6 | SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | ||
7 | file://noasmlinkage.patch;patch=1 \ | ||
8 | file://flags.patch;patch=1 \ | ||
9 | file://vol_id_ld.patch;patch=1 \ | ||
10 | file://udevtrigger_add_devname_filtering.patch;patch=1 \ | ||
11 | file://mount.blacklist \ | ||
12 | " | ||
13 | |||
14 | SRC_URI_append_h2200 = " file://50-hostap_cs.rules " | ||
15 | PACKAGE_ARCH_h2200 = "h2200" | ||
16 | |||
17 | require udev.inc | ||
18 | |||
19 | DEFAULT_PREFERENCE = "-1" | ||
20 | |||
21 | INITSCRIPT_PARAMS = "start 03 S ." | ||
22 | |||
23 | FILES_${PN} += "${base_libdir}/udev/*" | ||
24 | FILES_${PN}-dbg += "${base_libdir}/udev/.debug" | ||
25 | UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/" | ||
26 | EXTRA_OEMAKE += "libudevdir=/lib/udev libdir=${base_libdir} prefix=" | ||
27 | |||
28 | do_install () { | ||
29 | install -d ${D}${usrsbindir} \ | ||
30 | ${D}${sbindir} | ||
31 | oe_runmake 'DESTDIR=${D}' INSTALL=install install | ||
32 | install -d ${D}${sysconfdir}/init.d | ||
33 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | ||
34 | |||
35 | install -d ${D}${sysconfdir}/udev/rules.d/ | ||
36 | |||
37 | install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/ | ||
38 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules | ||
39 | install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules | ||
40 | install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules | ||
41 | install -m 0644 ${WORKDIR}/links.conf ${D}${sysconfdir}/udev/links.conf | ||
42 | if [ "${UDEV_DEVFS_RULES}" = "1" ]; then | ||
43 | install -m 0644 ${WORKDIR}/devfs-udev.rules ${D}${sysconfdir}/udev/rules.d/devfs-udev.rules | ||
44 | fi | ||
45 | |||
46 | install -d ${D}${sysconfdir}/udev/scripts/ | ||
47 | |||
48 | install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh | ||
49 | install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts | ||
50 | |||
51 | install -d ${D}${base_libdir}/udev/ | ||
52 | } | ||
53 | |||
54 | do_install_append_h2200() { | ||
55 | install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules | ||
56 | } | ||