diff options
Diffstat (limited to 'meta/packages/udev/udev_084.bb')
-rw-r--r-- | meta/packages/udev/udev_084.bb | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/meta/packages/udev/udev_084.bb b/meta/packages/udev/udev_084.bb deleted file mode 100644 index 81a14eaf86..0000000000 --- a/meta/packages/udev/udev_084.bb +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
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 | 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://udevsynthesize.patch;patch=1 \ | ||
10 | file://udevsynthesize.sh \ | ||
11 | file://mount.blacklist \ | ||
12 | file://udev_network_queue.sh" | ||
13 | |||
14 | require udev.inc | ||
15 | |||
16 | INITSCRIPT_PARAMS = "start 03 S ." | ||
17 | |||
18 | PR = "r13" | ||
19 | |||
20 | FILES_${PN} += "${base_libdir}" | ||
21 | UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/" | ||
22 | EXTRA_OEMAKE += "libudevdir=/lib/udev" | ||
23 | |||
24 | do_install () { | ||
25 | install -d ${D}${usrsbindir} \ | ||
26 | ${D}${sbindir} | ||
27 | oe_runmake 'DESTDIR=${D}' INSTALL=install install | ||
28 | install -d ${D}${sysconfdir}/init.d | ||
29 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | ||
30 | install -m 0755 ${WORKDIR}/udev_network_queue.sh ${D}${sysconfdir}/init.d/ | ||
31 | |||
32 | install -d ${D}${sysconfdir}/udev/rules.d/ | ||
33 | |||
34 | install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/ | ||
35 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules | ||
36 | install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules | ||
37 | install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules | ||
38 | if [ "${UDEV_DEVFS_RULES}" = "1" ]; then | ||
39 | install -m 0644 ${WORKDIR}/devfs-udev.rules ${D}${sysconfdir}/udev/rules.d/devfs-udev.rules | ||
40 | fi | ||
41 | |||
42 | install -d ${D}${sysconfdir}/udev/scripts/ | ||
43 | |||
44 | install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh | ||
45 | install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts | ||
46 | |||
47 | install -d ${D}${base_libdir}/udev/ | ||
48 | install -m 0755 ${S}/udevsynthesize ${D}${base_libdir}/udev/udevsynthesize | ||
49 | install -m 0755 ${WORKDIR}/udevsynthesize.sh ${D}${sbindir}/udevsynthesize | ||
50 | } | ||
51 | |||
52 | |||
53 | pkg_postinst_append() { | ||
54 | update-rc.d -s udev_network_queue.sh start 41 S . start 55 0 6 . | ||
55 | } | ||
56 | |||
57 | |||
58 | pkg_postrm_append() { | ||
59 | update-rc.d -f udev_network_queue.sh remove | ||
60 | } | ||