diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2012-09-21 13:57:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-25 17:50:19 +0100 |
commit | 4d7b2d2944933c4f03e80adfc32b626abee609a1 (patch) | |
tree | eb4393f361f0b2993daab2530fd6ed449722d58b /meta/recipes-core/udev/udev.inc | |
parent | ad39133c4c61657d4d27fd1b8490014705dcc5b8 (diff) | |
download | poky-4d7b2d2944933c4f03e80adfc32b626abee609a1.tar.gz |
udev: upgrade to 182
This is the final upgrade of udev. Futher upgrades will only
come in conjunction with systemd.
The v4l1 removal patch is deprecated as the bug is fixed inside udev.
There is a new patch fixing the path for default sh interpreter.
New debug binaries are generated, and udev.inc is modified to package
those correctly.
The install locations changed for udevd and udevadm, so the scripts
are updated accordingly.
(From OE-Core rev: 3cbe52b94c4d559a037347ac419fafee5af84fe6)
(From OE-Core rev: 8fc73baecf1b21b1a3e7eff478e25d2a7cae2879)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Conflicts:
meta/recipes-core/udev/udev_164.bb
sgw - Fixed up DEPENDS += and added some OECONF options that where in the
meta-oe version and make sense to be included.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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 | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc index 329f727c5c..ce7eec115e 100644 --- a/meta/recipes-core/udev/udev.inc +++ b/meta/recipes-core/udev/udev.inc | |||
@@ -6,16 +6,18 @@ LICENSE = "GPLv2.0+ & LGPLv2.1+" | |||
6 | LICENSE_${PN} = "GPLv2.0+" | 6 | LICENSE_${PN} = "GPLv2.0+" |
7 | LICENSE_libudev = "LGPLv2.1+" | 7 | LICENSE_libudev = "LGPLv2.1+" |
8 | LICENSE_libgudev = "LGPLv2.1+" | 8 | LICENSE_libgudev = "LGPLv2.1+" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
10 | file://libudev/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | 10 | file://src/COPYING;md5=17c4e5fb495e6707ac92a3864926f979 \ |
11 | file://extras/gudev/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | 11 | file://src/gudev/COPYING;md5=fb494485a7d0505308cb68e4997cc266" |
12 | |||
12 | 13 | ||
13 | DEPENDS = "acl glib-2.0 libusb usbutils pciutils gperf-native libxslt-native" | 14 | DEPENDS = "acl glib-2.0 libusb usbutils pciutils gperf-native libxslt-native util-linux" |
14 | RPROVIDES_${PN} = "hotplug" | 15 | RPROVIDES_${PN} = "hotplug" |
15 | RRECOMMENDS_${PN} += "udev-extraconf usbutils-ids pciutils-ids" | 16 | RRECOMMENDS_${PN} += "udev-extraconf usbutils-ids pciutils-ids" |
16 | RDEPENDS_libudev = "${PN} (= ${EXTENDPKGV})" | 17 | RDEPENDS_libudev = "${PN} (= ${EXTENDPKGV})" |
17 | 18 | ||
18 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | 19 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ |
20 | file://0001-Fixing-keyboard_force_release.sh-shell-script-path.patch \ | ||
19 | file://run.rules \ | 21 | file://run.rules \ |
20 | file://udev.rules \ | 22 | file://udev.rules \ |
21 | file://devfs-udev.rules \ | 23 | file://devfs-udev.rules \ |
@@ -30,9 +32,18 @@ inherit autotools pkgconfig update-rc.d | |||
30 | 32 | ||
31 | # udevd/udevadm -> /sbin/, libudev.so.* -> /lib/ | 33 | # udevd/udevadm -> /sbin/, libudev.so.* -> /lib/ |
32 | sbindir = "${base_sbindir}" | 34 | sbindir = "${base_sbindir}" |
33 | libexecdir = "${base_libdir}/udev" | 35 | libexecdir = "${base_libdir}" |
34 | EXTRA_OECONF = "--disable-introspection --with-rootlibdir=${base_libdir} \ | 36 | EXTRA_OECONF = "--disable-introspection \ |
35 | --with-pci-ids-path=${datadir}/pci.ids" | 37 | --with-rootlibdir=${base_libdir} \ |
38 | --with-pci-ids-path=${datadir}/pci.ids \ | ||
39 | ac_cv_file__usr_share_pci_ids=no \ | ||
40 | ac_cv_file__usr_share_hwdata_pci_ids=no \ | ||
41 | ac_cv_file__usr_share_misc_pci_ids=yes \ | ||
42 | --sbindir=${base_sbindir} \ | ||
43 | --libexecdir=${base_libdir} \ | ||
44 | --with-rootlibdir=${base_libdir} \ | ||
45 | --with-rootprefix= \ | ||
46 | " | ||
36 | 47 | ||
37 | PACKAGES =+ "udev-acl udev-consolekit udev-utils" | 48 | PACKAGES =+ "udev-acl udev-consolekit udev-utils" |
38 | PACKAGES =+ "udev-cache libudev libudev-dev libudev-dbg" | 49 | PACKAGES =+ "udev-cache libudev libudev-dev libudev-dbg" |
@@ -48,6 +59,8 @@ FILES_${PN} += "${libexecdir} ${libdir}/ConsoleKit" | |||
48 | RRECOMMENDS_${PN} += "udev-utils" | 59 | RRECOMMENDS_${PN} += "udev-utils" |
49 | 60 | ||
50 | FILES_${PN}-dbg += "${libexecdir}/.debug" | 61 | FILES_${PN}-dbg += "${libexecdir}/.debug" |
62 | FILES_${PN}-dbg += "${base_libdir}/udev/.debug/" | ||
63 | FILES_${PN}-dbg += "${base_libdir}/udev/.debug/*" | ||
51 | FILES_${PN}-dev = "${datadir}/pkgconfig/udev.pc" | 64 | FILES_${PN}-dev = "${datadir}/pkgconfig/udev.pc" |
52 | FILES_libudev = "${base_libdir}/libudev.so.*" | 65 | FILES_libudev = "${base_libdir}/libudev.so.*" |
53 | FILES_libudev-dbg = "${base_libdir}/.debug/libudev.so.*" | 66 | FILES_libudev-dbg = "${base_libdir}/.debug/libudev.so.*" |
@@ -82,4 +95,6 @@ do_install_append () { | |||
82 | 95 | ||
83 | # hid2hci has moved to bluez4. removed in udev as of version 169 | 96 | # hid2hci has moved to bluez4. removed in udev as of version 169 |
84 | rm -f ${D}${base_libdir}/udev/hid2hci | 97 | rm -f ${D}${base_libdir}/udev/hid2hci |
98 | |||
99 | echo 'run_path="/var/run/udev"' >> ${D}${sysconfdir}/udev/udev.conf | ||
85 | } | 100 | } |