summaryrefslogtreecommitdiffstats
path: root/meta/packages/udev/udev_115.bb
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2007-09-21 10:03:55 +0000
committerSamuel Ortiz <sameo@openedhand.com>2007-09-21 10:03:55 +0000
commitcb40f228352aa322fd4b991ce7c5c8d7807a3a9d (patch)
tree463e3ddb25e07a2b11b9a7a63120e93ff9f45767 /meta/packages/udev/udev_115.bb
parentb03d999bb2eb86140cd6f22d74b9e6b164c52e96 (diff)
downloadpoky-cb40f228352aa322fd4b991ce7c5c8d7807a3a9d.tar.gz
udev: adding the latest udev release, 115.
This release allows us to get rid of udevsynthesize in favour of udevtrigger. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2769 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/udev/udev_115.bb')
-rw-r--r--meta/packages/udev/udev_115.bb57
1 files changed, 57 insertions, 0 deletions
diff --git a/meta/packages/udev/udev_115.bb b/meta/packages/udev/udev_115.bb
new file mode 100644
index 0000000000..7c2c372dea
--- /dev/null
+++ b/meta/packages/udev/udev_115.bb
@@ -0,0 +1,57 @@
1DESCRIPTION = "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 \
3the hotplug package and requires a kernel not older than 2.6.12."
4RPROVIDES_${PN} = "hotplug"
5
6DEFAULT_PREFERENCE = "-1"
7
8PR = "r0"
9
10SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
11 file://noasmlinkage.patch;patch=1 \
12 file://flags.patch;patch=1 \
13 file://vol_id_ld.patch;patch=1 \
14 file://mount.blacklist \
15 "
16
17SRC_URI_append_h2200 = " file://50-hostap_cs.rules "
18PACKAGE_ARCH_h2200 = "h2200"
19
20require udev.inc
21
22INITSCRIPT_PARAMS = "start 03 S ."
23
24FILES_${PN} += "${base_libdir}/udev/*"
25FILES_${PN}-dbg += "${base_libdir}/udev/.debug"
26UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/"
27EXTRA_OEMAKE += "libudevdir=/lib/udev libdir=${base_libdir} prefix="
28
29do_install () {
30 install -d ${D}${usrsbindir} \
31 ${D}${sbindir}
32 oe_runmake 'DESTDIR=${D}' INSTALL=install install
33 install -d ${D}${sysconfdir}/init.d
34 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
35
36 install -d ${D}${sysconfdir}/udev/rules.d/
37
38 install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/
39 install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules
40 install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules
41 install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules
42 install -m 0644 ${WORKDIR}/links.conf ${D}${sysconfdir}/udev/links.conf
43 if [ "${UDEV_DEVFS_RULES}" = "1" ]; then
44 install -m 0644 ${WORKDIR}/devfs-udev.rules ${D}${sysconfdir}/udev/rules.d/devfs-udev.rules
45 fi
46
47 install -d ${D}${sysconfdir}/udev/scripts/
48
49 install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh
50 install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts
51
52 install -d ${D}${base_libdir}/udev/
53}
54
55do_install_append_h2200() {
56 install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules
57}