diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/udev/udev_092.bb | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/udev/udev_092.bb')
-rw-r--r-- | meta/packages/udev/udev_092.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/packages/udev/udev_092.bb b/meta/packages/udev/udev_092.bb new file mode 100644 index 0000000000..f25eeb0946 --- /dev/null +++ b/meta/packages/udev/udev_092.bb | |||
@@ -0,0 +1,49 @@ | |||
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 = "hotplug" | ||
5 | |||
6 | PR = "r5" | ||
7 | |||
8 | SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | ||
9 | file://noasmlinkage.patch;patch=1 \ | ||
10 | file://flags.patch;patch=1 \ | ||
11 | file://udevsynthesize.patch;patch=1 \ | ||
12 | file://udevsynthesize.sh \ | ||
13 | file://mount.blacklist" | ||
14 | |||
15 | include udev.inc | ||
16 | |||
17 | INITSCRIPT_PARAMS = "start 03 S ." | ||
18 | |||
19 | FILES_${PN} += "${base_libdir}" | ||
20 | UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/" | ||
21 | EXTRA_OEMAKE += "libudevdir=/lib/udev" | ||
22 | |||
23 | do_install () { | ||
24 | install -d ${D}${usrsbindir} \ | ||
25 | ${D}${sbindir} | ||
26 | oe_runmake 'DESTDIR=${D}' INSTALL=install install | ||
27 | install -d ${D}${sysconfdir}/init.d | ||
28 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | ||
29 | |||
30 | install -d ${D}${sysconfdir}/udev/rules.d/ | ||
31 | |||
32 | install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/ | ||
33 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules | ||
34 | install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules | ||
35 | install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules | ||
36 | install -m 0644 ${WORKDIR}/links.conf ${D}${sysconfdir}/udev/links.conf | ||
37 | if [ "${UDEV_DEVFS_RULES}" = "1" ]; then | ||
38 | install -m 0644 ${WORKDIR}/devfs-udev.rules ${D}${sysconfdir}/udev/rules.d/devfs-udev.rules | ||
39 | fi | ||
40 | |||
41 | install -d ${D}${sysconfdir}/udev/scripts/ | ||
42 | |||
43 | install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh | ||
44 | install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts | ||
45 | |||
46 | install -d ${D}${base_libdir}/udev/ | ||
47 | install -m 0755 ${S}/udevsynthesize ${D}${base_libdir}/udev/udevsynthesize | ||
48 | install -m 0755 ${WORKDIR}/udevsynthesize.sh ${D}${sbindir}/udevsynthesize | ||
49 | } | ||