Commit Graph

20 Commits

Author SHA1 Message Date
Saul Wold 307e860860 udev: fix init script for the location of udevd
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>
2013-04-09 18:09:14 +01:00
Radu Moisan b49ddeb11c udev: Move udevd back to /sbin
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>
2013-04-09 13:31:37 +01:00
Ross Burton f76d4b3549 udev: move /run volatile entry to udev instead of initscripts
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>
2013-03-26 22:43:05 +00:00
Andrei Gherzan cf8d4f7cc8 udev: Cleanup .inc file
* 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>
2013-02-11 14:32:18 +00:00
Ross Burton e07e0f80d6 udev: skip in systemd distros, to fix world builds
(From OE-Core rev: 1179e43d67c96367480e563a36684d550d83fcbe)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-21 12:44:53 +00:00
Khem Raj d5ce76dce3 udev: Fix build with eglibc 2.17
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>
2013-01-10 23:43:15 +00:00
Richard Purdie 656979f206 udev: Use correct variable in udev.conf for run_path
(From OE-Core rev: 6e4a1743a88fe6a002ca8f784b2dad3f493984b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-30 11:06:37 +00:00
Alexandru DAMIAN 4d7b2d2944 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>
2012-10-25 17:50:19 +01:00
Richard Purdie e731ff2881 udev: Remove files moved to udev-extraconf
(From OE-Core rev: 92f8605b81d373b66224b15355226f93ac5b3a46)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-04 15:41:16 +01:00
Richard Purdie 8354db9258 udev: Drop hid2hci, its provided by bluez4 now
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>
2012-08-29 16:01:41 -07:00
Bob Cochran 92dd65f05a udev.inc has a bad link for udev home page; update the link
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>
2012-02-21 17:59:39 +00:00
Otavio Salvador 23c4961ace udev: stop providing cache support by default
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>
2012-02-08 00:50:25 +00:00
Otavio Salvador ac62f06e09 udev: improve udev-cache robustness
* 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>
2012-02-02 16:55:32 +00:00
Otavio Salvador fc53fa79a8 udev: remove commented code from init script (no code changes)
(From OE-Core rev: 54daad852fc3bf6fc03c3ef96046e77d3ca047f4)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-05 11:24:48 +00:00
Otavio Salvador 27b45f6252 udev: split utilities onto udev-utils
(From OE-Core rev: 350b0921f66eb283637354f5f13a05d4aace41e2)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-05 11:24:48 +00:00
Otavio Salvador e412dbf6cd udev: reorganize files of 164 version
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>
2012-01-03 12:14:27 +00:00
Otavio Salvador f4e60ec827 udev: drop 145 version
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>
2012-01-03 12:14:27 +00:00
Joshua Lock 7b023bac25 udev: tidy the LICENSE fields
(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>
2011-12-21 17:16:30 +00:00
Mark Hatle fa647b9176 recipes-core: Cleanup package descriptions and summaries
[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-10-11 22:15:10 +01:00
Richard Purdie 29d6678fd5 Major layout change to the packages directory
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>
2010-08-27 15:29:45 +01:00