summaryrefslogtreecommitdiffstats
path: root/meta/packages/udev
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-07-29 20:24:16 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-06 18:28:27 +0100
commit662f136795b9b4857f087235d281b0d55cd814b6 (patch)
tree5cf50cc8054112bbe192864b95b9e1079eb24b36 /meta/packages/udev
parent0bb1016de129f3d3cb02b4ae67554ecdcd368df4 (diff)
downloadpoky-662f136795b9b4857f087235d281b0d55cd814b6.tar.gz
udev: enable udev-extras
changes: - enable extras, this includes pci/usb and acl related utilities - pci.ids automatic search doesn't work, specifying manually - package udev glib binding into libgudev{,-dev,-dbg} - libudev RDEPENDS on udev, this is somehow counter-intuitive: libudev is the library to access udev information - should RRECOMMENDS usbutils-ids and pciutils-ids bug: RDEPENDS (RRECOMMENDS) on a specific version still doesn't work Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/udev')
-rw-r--r--meta/packages/udev/udev-new.inc19
-rw-r--r--meta/packages/udev/udev_158.bb2
2 files changed, 13 insertions, 8 deletions
diff --git a/meta/packages/udev/udev-new.inc b/meta/packages/udev/udev-new.inc
index de02b23ee4..b09c748f41 100644
--- a/meta/packages/udev/udev-new.inc
+++ b/meta/packages/udev/udev-new.inc
@@ -5,15 +5,15 @@ HOMEPAGE = "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
5LICENSE = "GPLv2+ & LGPLv2.1+" 5LICENSE = "GPLv2+ & LGPLv2.1+"
6LICENSE_${PN} = "GPLv2+" 6LICENSE_${PN} = "GPLv2+"
7LICENSE_libudev = "LGPLv2.1+" 7LICENSE_libudev = "LGPLv2.1+"
8#LICENSE_libgudev = "LGPLv2.1+" 8LICENSE_libgudev = "LGPLv2.1+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ 9LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
10 file://libudev/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ 10 file://libudev/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
11 file://extras/gudev/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" 11 file://extras/gudev/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
12 12
13# the following dependency is needed for udev-extras 13DEPENDS = "acl glib-2.0 libusb usbutils pciutils linux-libc-headers gperf-native libxslt-native"
14#DEPENDS = "libacl glib-2.0 libusb usbutils pciutils linux-libc-headers gperf-native"
15RPROVIDES_${PN} = "hotplug" 14RPROVIDES_${PN} = "hotplug"
16RRECOMMENDS_${PN} += "udev-extraconf udev-cache" 15RRECOMMENDS_${PN} += "udev-extraconf udev-cache usbutils-ids pciutils-ids"
16RDEPENDS_libudev = "${PN} (= ${EXTENDPV})"
17 17
18SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ 18SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
19 file://run.rules \ 19 file://run.rules \
@@ -34,9 +34,11 @@ inherit autotools pkgconfig update-rc.d
34# udevd/udevadm -> /sbin/, libudev.so.* -> /lib/ 34# udevd/udevadm -> /sbin/, libudev.so.* -> /lib/
35sbindir = "${base_sbindir}" 35sbindir = "${base_sbindir}"
36libexecdir = "${base_libdir}/udev" 36libexecdir = "${base_libdir}/udev"
37EXTRA_OECONF = "--disable-extras --disable-introspection --with-rootlibdir=${base_libdir}" 37EXTRA_OECONF = "--disable-introspection --with-rootlibdir=${base_libdir} \
38 --with-pci-ids-path=${datadir}/pci.ids"
38 39
39PACKAGES =+ "udev-cache libudev libudev-dev libudev-dbg" 40PACKAGES =+ "udev-cache libudev libudev-dev libudev-dbg"
41PACKAGES =+ "libgudev libgudev-dev libgudev-dbg"
40PACKAGE_ARCH_h2200 = "h2200" 42PACKAGE_ARCH_h2200 = "h2200"
41 43
42INITSCRIPT_PACKAGES = "udev udev-cache" 44INITSCRIPT_PACKAGES = "udev udev-cache"
@@ -45,16 +47,19 @@ INITSCRIPT_PARAMS_udev = "start 04 S ."
45INITSCRIPT_NAME_udev-cache = "udev-cache" 47INITSCRIPT_NAME_udev-cache = "udev-cache"
46INITSCRIPT_PARAMS_udev-cache = "start 36 S ." 48INITSCRIPT_PARAMS_udev-cache = "start 36 S ."
47 49
48FILES_${PN} += "${libexecdir} ${datadir}/pkgconfig/udev.pc" 50FILES_${PN} += "${libexecdir} ${datadir}/pkgconfig/udev.pc ${libdir}/ConsoleKit"
49FILES_${PN}-dbg += "${libexecdir}/.debug" 51FILES_${PN}-dbg += "${libexecdir}/.debug"
50FILES_${PN}-dev = "" 52FILES_${PN}-dev = ""
51FILES_libudev = "${base_libdir}/libudev.so.*" 53FILES_libudev = "${base_libdir}/libudev.so.*"
52FILES_libudev-dbg = "${base_libdir}/.debug/libudev.so.*" 54FILES_libudev-dbg = "${base_libdir}/.debug/libudev.so.*"
53FILES_libudev-dev = "${includedir}/libudev.h ${libdir}/libudev.so ${libdir}/libudev.la \ 55FILES_libudev-dev = "${includedir}/libudev.h ${libdir}/libudev.so ${libdir}/libudev.la \
54 ${libdir}/libudev.a ${libdir}/pkgconfig/libudev.pc" 56 ${libdir}/libudev.a ${libdir}/pkgconfig/libudev.pc"
57FILES_libgudev = "${libdir}/libgudev*.so.*"
58FILES_libgudev-dbg = "${libdir}/.debug/libgudev*.so.*"
59FILES_libgudev-dev = "${includedir}/gudev* ${libdir}/libgudev*.so ${libdir}/libgudev*.la \
60 ${libdir}/libgudev*.a ${libdir}/pkgconfig/gudev*.pc"
55FILES_udev-cache = "${sysconfdir}/init.d/udev-cache" 61FILES_udev-cache = "${sysconfdir}/init.d/udev-cache"
56 62
57
58do_install_append () { 63do_install_append () {
59 install -d ${D}${sysconfdir}/init.d 64 install -d ${D}${sysconfdir}/init.d
60 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev 65 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
diff --git a/meta/packages/udev/udev_158.bb b/meta/packages/udev/udev_158.bb
index fbdb147ca3..58afd5bc3a 100644
--- a/meta/packages/udev/udev_158.bb
+++ b/meta/packages/udev/udev_158.bb
@@ -1,3 +1,3 @@
1include udev-new.inc 1include udev-new.inc
2 2
3PR = "r0" 3PR = "r1"