summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/udev/udev_092.bb
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/udev/udev_092.bb')
-rw-r--r--openembedded/packages/udev/udev_092.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/openembedded/packages/udev/udev_092.bb b/openembedded/packages/udev/udev_092.bb
new file mode 100644
index 0000000000..62bc43d48f
--- /dev/null
+++ b/openembedded/packages/udev/udev_092.bb
@@ -0,0 +1,49 @@
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 = "hotplug"
5
6PR = "r3"
7
8SRC_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
15include udev.inc
16
17INITSCRIPT_PARAMS = "start 03 S ."
18
19FILES_${PN} += "${base_libdir}"
20UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/"
21EXTRA_OEMAKE += "libudevdir=/lib/udev"
22
23do_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}