summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev.inc
Commit message (Collapse)AuthorAgeFilesLines
* udev: avoid autosuspend of USB input devicesNitin A Kamble2013-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | Some of the external USB devices has internal USB hub, which make them look like "fixed" rather than "removable". And USB autosuspend does not work with some of these devices resulting in inoperable pointing device. Now the code detect these false "fixed" devices by looking at their parents. If any of their parent is "removable", then USB autosuspend is not enabled for that device, which keeps the pointing device functional. Fixes bug: [YOCTO #5166] (From OE-Core rev: d74a0ecdbc85a482cab6e7eae8dcb48185d44d84) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Add RRECOMMENDS for udev-cache to enable the cacheSaul Wold2013-07-021-1/+1
| | | | | | | | | | This will enable the udev cache for sysvinit systems, which does improve post-first boots. (From OE-Core rev: 087d8ccd6eaf2795253b5cbeac171ad82489535c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: do not recommend pciutils/usbutils idsMarcin Juszkiewicz2013-06-041-1/+0
| | | | | | | | | | | udev does not require those files to be operational and they add ~350KB to rootfs (From OE-Core rev: af85ad00d31db0cfe499af815357f7f118e7e546) Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: do not create symbolic link from /run to /var/runJonathan Liu2013-05-291-5/+1
| | | | | | | | | | | The /run directory is now a tmpfs with /var/run as a symbolic link pointing to /run. (From OE-Core rev: 691593177aa78a56ce138f1041872bebca2aa056) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: do not recommend udev-extraconfAndreas Müller2013-05-081-1/+1
| | | | | | | | | | | | same as already sent by Koen Kooi [1] [1] http://patches.openembedded.org/patch/48183/ (From OE-Core rev: b190d9d692bde12cce1062bd0cba65a5b7fc8188) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: disable systemd supportRoss Burton2013-04-181-0/+1
| | | | | | | | | | If we want systemd support we use systemd's udev, so disable systemd support in this udev to avoid packaging the unit files. (From OE-Core rev: 36aa37e693bcb76a96761847dbef6a015d96fd98) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: drop dependency on udev in libudevRoss Burton2013-04-181-1/+0
| | | | | | | | | | | | | | libudev previously depended on udev, but this causes problems with multilib if the user wants to install two variants of libudev as they'll pull in two variants of udev, which will conflict. Instead, remove the dependency and rely that the image pulls in udev in some way, such as the commonly used packagegroup-core-boot. (From OE-Core rev: 6168ea4e00fd1c8296fe770fa9e2ef00018f5621) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: explicitly package nonarch_base_libdirRoss Burton2013-04-181-1/+1
| | | | | | | | | | When using multilib this doesn't get caught by the default FILES_${PN}, so add it. (From OE-Core rev: 53f1540780e5d4e8035118a1920202735bd0a370) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Effectively revert the move to /sbinRichard Purdie2013-04-181-4/+4
| | | | | | | | | | | | | This effectively reverts the changes made in b49ddeb11c0319b7ece278fd7cef6b0223114ca9 to move udev's libexecdir to sbin. The changes caused too many issues in other places and were not well enough tested this close to a release. Rather than use base_libdir, the nonarch version is used to try and give some chance of multilib not being totally broken in the release. (From OE-Core rev: c50e50fdafad378d75b7b74259a3d55ca0fe3d18) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: fix init script for the location of udevdSaul Wold2013-04-091-0/+2
| | | | | | | | | Ensure we can update the script base don the location of the udevd installation (From OE-Core rev: 25ff5960e41b9d7c62b05a08dd77cf11390962a1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Move udevd back to /sbinRadu Moisan2013-04-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Along with v182 upgrade udevd was moved to ${base_libdir} making scripts like init-live.sh to fail in finding udevd. We have some problems here since the placing binaries into either libdir breaks the way our multilib handling works. That code and its associated sanity tests assume that libdir contains binaries of a particular architecture and that these are not allowed to overlap. This is in contrast to the bindirs where conflicts are expected and handled appropriately. So whilst upstream may desire this directory layout, it won't work for OE's usage of it and we need to configure udev differently. The scripts already have fallback code to handle udev in the two locations so there is no issue is going back to our previous layout. [Yocto #4046] (From OE-Core rev: a866e1e298dab5c52e7b8ba9ab68104604511713) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: move /run volatile entry to udev instead of initscriptsRoss Burton2013-03-261-1/+5
| | | | | | | | | | | | | | | | initscripts is generally installed on systemd-using images, but because it specifies that /run is a symlink to /var/run managed by volatiles it totally breaks systemd by copying/deleting /run from underneath systemd. Deleting sockets mid-boot doesn't leave systemd in a happy place. As this volatile reference of /run was introduced by udev 182, move it's reference to the udev recipe. This way it will never be present on systemd images, as systemd manages /run as a tmpfs itself. (From OE-Core rev: 5b0257e318340c2d6c8d3b0c3fa32272d6e9526b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Cleanup .inc fileAndrei Gherzan2013-02-111-11/+4
| | | | | | | | | | | | * udev-acl and udev-concolekit have no files so remove these packages * there's nothing in sbindir so remove useless sbindir = "${base_sbindir}" * there is no udevinfo or udevtest so remove these from udev-utils * udevadm is installed in bindir so modify it's path in FILES_udev-utils (From OE-Core rev: 25e01e11586f422f3659318796cb847cb701b03e) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: skip in systemd distros, to fix world buildsRoss Burton2013-01-211-0/+6
| | | | | | | (From OE-Core rev: 1179e43d67c96367480e563a36684d550d83fcbe) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Fix build with eglibc 2.17Khem Raj2013-01-101-1/+2
| | | | | | | | | | | | | | | Link with librt to get definitions of mq_* functions Fixes errors like below /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/udev/182-r3/udev-182/src/sd-daemon.c:394: undefined reference to `mq_getattr' | collect2: error: ld returned 1 exit status (From OE-Core rev: f8797bbba22e9b22bab3ddeb59cd3f33a816fa72) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Use correct variable in udev.conf for run_pathRichard Purdie2012-10-301-1/+1
| | | | | | (From OE-Core rev: 6e4a1743a88fe6a002ca8f784b2dad3f493984b5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: upgrade to 182Alexandru DAMIAN2012-10-251-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* udev: Remove files moved to udev-extraconfRichard Purdie2012-09-041-7/+0
| | | | | | (From OE-Core rev: 92f8605b81d373b66224b15355226f93ac5b3a46) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Drop hid2hci, its provided by bluez4 nowRichard Purdie2012-08-291-0/+3
| | | | | | | | | | Our bluez4 recipe provides hid2hci now. udev removes this as of version 169, we might as well remove it now to stop conflicts over the file in both target file systems and the build sysroots. (From OE-Core rev: 1b5aa7ce6ef22c015e0ab8463ba528f916c421b0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev.inc has a bad link for udev home page; update the linkBob Cochran2012-02-211-1/+1
| | | | | | | | | | Fixed bad link in udev.inc to the udev home page / documentation on kernel.org (From OE-Core rev: 479b9a52a013d990da296f96bd658db00423f9a6) Signed-off-by: Robert Cochran<yocto@mindchasers.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: stop providing cache support by defaultOtavio Salvador2012-02-081-1/+1
| | | | | | | | | | | | The usefulness of cache nowadays has been reduced a lot and thus it's better to stop using it by default. Dropping the recommends allows for image to decide if they want or not to have cache enabled, instead of require a machine override. (From OE-Core rev: bf849b8a6da32cebaa361242162e4fcc4b1cd97f) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: improve udev-cache robustnessOtavio Salvador2012-02-021-1/+7
| | | | | | | | | | | | | * allow udev-cache to be disabled at runtime (using /etc/default/udev-cache); * make cache invalidated if kernel, bootparams or device list changes; (From OE-Core rev: 22b72b23653736436f10d394de36201c32630d5d) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: remove commented code from init script (no code changes)Otavio Salvador2012-01-051-12/+0
| | | | | | | (From OE-Core rev: 54daad852fc3bf6fc03c3ef96046e77d3ca047f4) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: split utilities onto udev-utilsOtavio Salvador2012-01-051-1/+5
| | | | | | | (From OE-Core rev: 350b0921f66eb283637354f5f13a05d4aace41e2) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: reorganize files of 164 versionOtavio Salvador2012-01-031-0/+91
| | | | | | | | | | | We merged both files and udev-164 directory onto a single directory and renamed udev-new.inc onto udev.inc as we have a single version of udev now. (From OE-Core rev: abde2a045a39a70a6247a7ae591a131120ab8ed3) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: drop 145 versionOtavio Salvador2012-01-031-72/+0
| | | | | | | | | | | | | | 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>
* udev: tidy the LICENSE fieldsJoshua Lock2011-12-211-2/+2
| | | | | | | | | (From OE-Core rev: 30a07409ce5bf9576a195b908fa3b43c80873635) Signed-off-by: Joshua Lock <josh@linux.intel.com> fix udev Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-core: Cleanup package descriptions and summariesMark Hatle2010-10-111-1/+2
| | | | | | | | | [BUGID #281] Evaluate and update each package in recipes-core to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Major layout change to the packages directoryRichard Purdie2010-08-271-0/+71
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>