aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev.inc
AgeCommit message (Collapse)Author
2016-03-02eudev: Replaces udev with eudev for compatibility when using sysvinit on ↵Alejandro Hernandez
newer kernels udev has started to fail on new kernels (4.4), due to being deprecated in favor of systemd's udev implementation. To maintain a sysvinit alternative we also need to provide an alternative to udev. Eudev is a fork of systemds udev, this new eudev recipe provides upstream udev 220 funcitonality. - Removes patches that dont apply anymore - ToDo: eudev-ptest? [YOCTO #8998] Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-20udev: Add 2 patches to support 4.4 kernelSaul Wold
These 2 patches are needed to build udev with the 4.4 kernel, the first mtd-probe adds back a stdint.h header that was removed in the kernel's mtd-user.h header file. The second adds a check for a new header and sets a Makefile variable to determine which header to use for the new kernel vs older kernels. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16meta: Drop now pointless manual -dbg packagingRichard Purdie
With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-03udev: add PROVIDES = "libgudev"Andreas Müller
With the last update of systemd libgudev was splitted out of systemd. To make packages depending on libgudev happy, a recipe building libgudev was created in meta-oe and the dependencies were modified from udev to libgudev. This works fine for distros using systemd as init system, but distros not using build udev which provides libgudev. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-21udev: Add RCONFLICTS/RREPLACES for udev-utilsBryan Evenson
As of commit 9bb5c7472958aeea46225e835f44d45bea7f7351, the udev-utils package no longer exists with udev taking ownership of udevadm. However, systems that had udev-utils installed have a conflict with udev. Add RCONFLICTS and RREPLACES variables for udev-utils so udev-utils will be removed from systems that are upgrading udev. This change would be applicable for master back through dizzy when the problem was introduced. Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-29udev: remove obsolete dependency on aclAndre McCurdy
udev_acl was removed from udev in v182. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-01-29udev: fix missing dependency on glib-2.0-nativeAndre McCurdy
udev compile requires glib-genmarshal and glib-mkenums Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-01-29udev: fix ptest rule syntax checkMax Krummenacher
The ptest which checks for correct udev rules fails. Missing files and paths for the build host caused this. Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-08-28meta: fix RDEPNEDS for the test related pkgsRobert Yang
Add bash, python or perl to the ptest pkgs to fix the RDEPENDS issues. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25udev: remove udev-utils, add 'udevadm' to udev packageChen Qi
Previously, the udev package only RRECOMMENDS udev-utils package, but its init script in the udev package really relies on the 'udevadm' command to work properly. As a result, if 'NO_RECOMMENDATIONS' is set to '1', errors occur at system start-up. The udev-utils package only contains one file, that is /bin/udevadm. So it's better that we remove the udev-utils package and move the 'udevadm' command to the udev package. [YOCTO #6388] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Globally replace oe.utils.contains to bb.utils.containsOtavio Salvador
BitBake has the exact same code as oe.utils.contains so there's no reason to duplicate it. We now rely on the bb.utils.contains code for metadata. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-28udev: fix typoChen Qi
Fix the typo in the RDEPENDS statement to make it have real effect. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-14udev: Add ptestAlexandra Safta
Install udev test suite and run it as a ptest. Signed-off-by: Alexandra Safta <alexandra.safta@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-11-20udev: remove extra -dev/-dbg packagesWenzong Fan
We don't support multiple -dbg/-dev packages, the package can generate them but the system does not correctly handle them. Just move all devel stuffs into 'udev-dev' and all debug stuffs into 'udev-dbg'. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-11-08sysvinit: adjust boot sequence and remove hack from udevChen Qi
Adjust the boot sequence in sysvinit based systems. The mountall.sh (mounting the local file system) needs to be started before udev and bootlogd. This patch makes mountall.sh start before udev and removes the hack of mounting tmpfs in the udev init script. This patch also adds some comments to the udev init script to make it clear why we create the '/var/volatile/tmp' directory. [YOCTO #5273] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-09-17udev: avoid autosuspend of USB input devicesNitin A Kamble
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] 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>
2013-07-02udev: Add RRECOMMENDS for udev-cache to enable the cacheSaul Wold
This will enable the udev cache for sysvinit systems, which does improve post-first boots. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-04udev: do not recommend pciutils/usbutils idsMarcin Juszkiewicz
udev does not require those files to be operational and they add ~350KB to rootfs 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>
2013-05-29udev: do not create symbolic link from /run to /var/runJonathan Liu
The /run directory is now a tmpfs with /var/run as a symbolic link pointing to /run. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-08udev: do not recommend udev-extraconfAndreas Müller
same as already sent by Koen Kooi [1] [1] http://patches.openembedded.org/patch/48183/ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-18udev: disable systemd supportRoss Burton
If we want systemd support we use systemd's udev, so disable systemd support in this udev to avoid packaging the unit files. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18udev: drop dependency on udev in libudevRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18udev: explicitly package nonarch_base_libdirRoss Burton
When using multilib this doesn't get caught by the default FILES_${PN}, so add it. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17udev: Effectively revert the move to /sbinRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-09udev: fix init script for the location of udevdSaul Wold
Ensure we can update the script base don the location of the udevd installation Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-09udev: Move udevd back to /sbinRadu Moisan
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] Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26udev: move /run volatile entry to udev instead of initscriptsRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-02-11udev: Cleanup .inc fileAndrei Gherzan
* 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 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-21udev: skip in systemd distros, to fix world buildsRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-10udev: Fix build with eglibc 2.17Khem Raj
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-30udev: Use correct variable in udev.conf for run_pathRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-25udev: upgrade to 182Alexandru DAMIAN
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) 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>
2012-09-04udev: Remove files moved to udev-extraconfRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-28udev: Drop hid2hci, its provided by bluez4 nowRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-21udev.inc has a bad link for udev home page; update the linkBob Cochran
Fixed bad link in udev.inc to the udev home page / documentation on kernel.org Signed-off-by: Robert Cochran<yocto@mindchasers.com>
2012-02-07udev: stop providing cache support by defaultOtavio Salvador
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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-02-02udev: improve udev-cache robustnessOtavio Salvador
* allow udev-cache to be disabled at runtime (using /etc/default/udev-cache); * make cache invalidated if kernel, bootparams or device list changes; Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-01-05udev: remove commented code from init script (no code changes)Otavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-05udev: split utilities onto udev-utilsOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-02udev: reorganize files of 164 versionOtavio Salvador
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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-01-02udev: drop 145 versionOtavio Salvador
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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-12-21udev: tidy the LICENSE fieldsJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com> fix udev
2010-10-11recipes-core: Cleanup package descriptions and summariesMark Hatle
[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>
2010-08-27Major layout change to the packages directoryRichard Purdie
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>