diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-12-20 13:00:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:14:27 +0000 |
commit | f4e60ec827d574efdd74663c4904a7da51304fcc (patch) | |
tree | 43959cb13d4b1a13734dad04f79921316e8e8c19 /meta/recipes-core/udev/udev.inc | |
parent | a99a63959b2e91519a26ff6305729b1072e638fa (diff) | |
download | poky-f4e60ec827d574efdd74663c4904a7da51304fcc.tar.gz |
udev: drop 145 version
The 164 version has been the default version for some time and as we
don't have any clear reasoning to keep 145 around, we're removing it
now.
Some files were also removed as 164 recipe provides specific versions
of it and thus those were going to be unused.
(From OE-Core rev: 7376f027c39716561b513a70f6e7f86fb14df178)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev/udev.inc')
-rw-r--r-- | meta/recipes-core/udev/udev.inc | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc deleted file mode 100644 index eb096eee98..0000000000 --- a/meta/recipes-core/udev/udev.inc +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | SUMMARY = "/dev/ and hotplug management daemon" | ||
2 | DESCRIPTION = "udev is a program which dynamically creates and removes device nodes from \ | ||
3 | /dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel." | ||
4 | LICENSE = "GPLv2.0+ & LGPLv2.1+" | ||
5 | |||
6 | SRC_URI += " \ | ||
7 | file://udev.rules \ | ||
8 | file://devfs-udev.rules \ | ||
9 | file://links.conf \ | ||
10 | file://permissions.rules \ | ||
11 | file://mount.sh \ | ||
12 | file://network.sh \ | ||
13 | file://local.rules \ | ||
14 | file://udev-cache \ | ||
15 | file://init" | ||
16 | |||
17 | UDEV_DEVFS_RULES ?= "0" | ||
18 | |||
19 | PACKAGES =+ "udev-utils libvolume-id udev-cache" | ||
20 | FILES_udev-utils = "${usrbindir}/udevinfo ${usrbindir}/udevtest" | ||
21 | FILES_libvolume-id = "${base_libdir}/libvolume_id.so.*" | ||
22 | FILES_udev-cache = "${sysconfdir}/init.d/udev-cache" | ||
23 | |||
24 | RRECOMMENDS_${PN} += "udev-extraconf udev-cache" | ||
25 | |||
26 | inherit update-rc.d autotools pkgconfig | ||
27 | |||
28 | INITSCRIPT_PACKAGES = "udev udev-cache" | ||
29 | INITSCRIPT_NAME_udev = "udev" | ||
30 | INITSCRIPT_PARAMS_udev = "start 04 S ." | ||
31 | INITSCRIPT_NAME_udev-cache = "udev-cache" | ||
32 | INITSCRIPT_PARAMS_udev-cache = "start 36 S ." | ||
33 | |||
34 | export CROSS = "${TARGET_PREFIX}" | ||
35 | export HOSTCC = "${BUILD_CC}" | ||
36 | export udevdir ?= "/dev" | ||
37 | export usrbindir := "${bindir}" | ||
38 | export usrsbindir := "${sbindir}" | ||
39 | export etcdir = "${sysconfdir}" | ||
40 | LD = "${CC}" | ||
41 | bindir = "/bin" | ||
42 | sbindir = "/sbin" | ||
43 | |||
44 | UDEV_EXTRAS = "<override me>" | ||
45 | FILES_${PN} += "${usrbindir}/* ${usrsbindir}/*" | ||
46 | FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug" | ||
47 | EXTRA_OEMAKE = "-e \ | ||
48 | 'EXTRAS=${UDEV_EXTRAS}' \ | ||
49 | 'STRIP=echo'" | ||
50 | |||
51 | do_install () { | ||
52 | install -d ${D}${usrsbindir} \ | ||
53 | ${D}${sbindir} | ||
54 | oe_runmake 'DESTDIR=${D}' INSTALL=install install | ||
55 | install -d ${D}${sysconfdir}/init.d | ||
56 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | ||
57 | install -m 0755 ${WORKDIR}/udev-cache ${D}${sysconfdir}/init.d/udev-cache | ||
58 | |||
59 | install -d ${D}${sysconfdir}/udev/rules.d/ | ||
60 | |||
61 | install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules | ||
62 | install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules | ||
63 | install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules | ||
64 | if [ "${UDEV_DEVFS_RULES}" = "1" ]; then | ||
65 | install -m 0644 ${WORKDIR}/devfs-udev.rules ${D}${sysconfdir}/udev/rules.d/devfs-udev.rules | ||
66 | fi | ||
67 | |||
68 | install -d ${D}${sysconfdir}/udev/scripts/ | ||
69 | |||
70 | install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh | ||
71 | install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts | ||
72 | } | ||