diff options
author | Qing He <qing.he@intel.com> | 2010-07-29 20:24:16 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-06 18:28:27 +0100 |
commit | 662f136795b9b4857f087235d281b0d55cd814b6 (patch) | |
tree | 5cf50cc8054112bbe192864b95b9e1079eb24b36 /meta | |
parent | 0bb1016de129f3d3cb02b4ae67554ecdcd368df4 (diff) | |
download | openembedded-core-662f136795b9b4857f087235d281b0d55cd814b6.tar.gz openembedded-core-662f136795b9b4857f087235d281b0d55cd814b6.tar.bz2 openembedded-core-662f136795b9b4857f087235d281b0d55cd814b6.tar.xz openembedded-core-662f136795b9b4857f087235d281b0d55cd814b6.zip |
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')
-rw-r--r-- | meta/packages/udev/udev-new.inc | 19 | ||||
-rw-r--r-- | meta/packages/udev/udev_158.bb | 2 |
2 files changed, 13 insertions, 8 deletions
diff --git a/meta/packages/udev/udev-new.inc b/meta/packages/udev/udev-new.inc index de02b23ee..b09c748f4 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" LICENSE = "GPLv2+ & LGPLv2.1+" LICENSE_${PN} = "GPLv2+" LICENSE_libudev = "LGPLv2.1+" -#LICENSE_libgudev = "LGPLv2.1+" +LICENSE_libgudev = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://libudev/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ file://extras/gudev/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" -# the following dependency is needed for udev-extras -#DEPENDS = "libacl glib-2.0 libusb usbutils pciutils linux-libc-headers gperf-native" +DEPENDS = "acl glib-2.0 libusb usbutils pciutils linux-libc-headers gperf-native libxslt-native" RPROVIDES_${PN} = "hotplug" -RRECOMMENDS_${PN} += "udev-extraconf udev-cache" +RRECOMMENDS_${PN} += "udev-extraconf udev-cache usbutils-ids pciutils-ids" +RDEPENDS_libudev = "${PN} (= ${EXTENDPV})" SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ file://run.rules \ @@ -34,9 +34,11 @@ inherit autotools pkgconfig update-rc.d # udevd/udevadm -> /sbin/, libudev.so.* -> /lib/ sbindir = "${base_sbindir}" libexecdir = "${base_libdir}/udev" -EXTRA_OECONF = "--disable-extras --disable-introspection --with-rootlibdir=${base_libdir}" +EXTRA_OECONF = "--disable-introspection --with-rootlibdir=${base_libdir} \ + --with-pci-ids-path=${datadir}/pci.ids" PACKAGES =+ "udev-cache libudev libudev-dev libudev-dbg" +PACKAGES =+ "libgudev libgudev-dev libgudev-dbg" PACKAGE_ARCH_h2200 = "h2200" INITSCRIPT_PACKAGES = "udev udev-cache" @@ -45,16 +47,19 @@ INITSCRIPT_PARAMS_udev = "start 04 S ." INITSCRIPT_NAME_udev-cache = "udev-cache" INITSCRIPT_PARAMS_udev-cache = "start 36 S ." -FILES_${PN} += "${libexecdir} ${datadir}/pkgconfig/udev.pc" +FILES_${PN} += "${libexecdir} ${datadir}/pkgconfig/udev.pc ${libdir}/ConsoleKit" FILES_${PN}-dbg += "${libexecdir}/.debug" FILES_${PN}-dev = "" FILES_libudev = "${base_libdir}/libudev.so.*" FILES_libudev-dbg = "${base_libdir}/.debug/libudev.so.*" FILES_libudev-dev = "${includedir}/libudev.h ${libdir}/libudev.so ${libdir}/libudev.la \ ${libdir}/libudev.a ${libdir}/pkgconfig/libudev.pc" +FILES_libgudev = "${libdir}/libgudev*.so.*" +FILES_libgudev-dbg = "${libdir}/.debug/libgudev*.so.*" +FILES_libgudev-dev = "${includedir}/gudev* ${libdir}/libgudev*.so ${libdir}/libgudev*.la \ + ${libdir}/libgudev*.a ${libdir}/pkgconfig/gudev*.pc" FILES_udev-cache = "${sysconfdir}/init.d/udev-cache" - do_install_append () { install -d ${D}${sysconfdir}/init.d 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 fbdb147ca..58afd5bc3 100644 --- a/meta/packages/udev/udev_158.bb +++ b/meta/packages/udev/udev_158.bb @@ -1,3 +1,3 @@ include udev-new.inc -PR = "r0" +PR = "r1" |