36 Commits

Author SHA1 Message Date
Khem Raj
7895ab0827 udev-173: Fix SRC_URI to fetch bz2 archive
gz archive is not available on source anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-24 11:06:15 +02:00
Martin Jansa
5f56dbb059 udev-extra-rules: drop in favor of udev-extraconf from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-31 00:13:52 +02:00
Martin Jansa
a2f5ec73d6 udev-extra-rules: add mount.blacklist to CONFFILES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-23 12:47:03 +02:00
Khem Raj
030296b6a5 udev: link librt explicitly on uclibc
Some functions used by udev are in librt in uclibc case
therefore add -lrt to linker flags when building for uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-07-09 18:40:21 +02:00
Andreas Müller
28d718f1ee udev_182: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:55:14 +01:00
Andreas Müller
67b01371ec udev_175: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:55:14 +01:00
Koen Kooi
0148de029c udev: update to 182
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-20 18:13:16 +01:00
Andreas Oberritter
8b5006510a udev-173: don't hardcode path to pidof
* pidof lives in /bin, search it in $PATH.
* Assume pidof's presence.
* Remove -e shell option, because pidof may return nonzero.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:50:37 +01:00
Andreas Oberritter
5b3974ed48 udev: consolekit package requires x11
* consolekit fails to build without x11, so drop the
  runtime dependency on consolekit if x11 is unavailable.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-07 15:17:13 +01:00
Khem Raj
2b402359f2 udev: Upgrade 180 -> 181
180 does not compile with kmod-5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23 16:46:30 +01:00
Martin Jansa
0c0b8b7c13 udev-180: switch from git checkout to release tarball
* problem is with manpage generation, commit
  http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=6528a3938fe8727b99b210cf504a335d07c94c37
  assumes that even without xstltproc we can install pregenerated
  manpages, but they are only in release tarball (e.g. src/udev.7)
  and without them, build system tries to regenerate and fails:

  /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/xsltproc -o src/udev.7 -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl src/udev.xml
  warning: failed to load external entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
  cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-30 21:08:00 +01:00
Koen Kooi
4eb9cc06d8 udev: add 180
* 'blkid' isn't needed anymore, since 176 udev links against libblkid
* 'modprobe' and 'depmod' aren't needed anymore, udev now links against libkmod
* The entire source including the license files were re-indented hence the LIC_FILES_CHKSUM changes

Runtime tested on beagleboard/angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-30 15:15:06 +01:00
Koen Kooi
bae85652e5 udev: update to 175
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-08 09:13:23 +01:00
Koen Kooi
bf778b699d udev 174: add version 174, disabled by default (see below)
This release moves various binaries from /sbin to /lib/udev, invalidating the sysvinit scripts in our metadata. To stay closer to upstream the sysvinit scripts have been removed and systemd units are used instead. Since this is a huge change (both the moving of 'udevd' and removing initscripts) this recipe has a negative DEFAULT_PREFERENCE.

Patches to reinstate sysvinit support are welcomed, but will be subject to close scrutiny.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-24 16:24:25 +02:00
Otavio Salvador
e8bc575811 udev: udev-systemd refactory
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-19 17:54:57 +02:00
Martin Jansa
ef12dfc505 recipes: use allarch instead of PACKAGE_ARCH = all
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-12 10:24:45 +02:00
Koen Kooi
8d425adb96 udev 173: add blkid to RRECOMMENDS_${PN} since various udev rules use it
A missing blkid is non-fatal, so recommend it instead of hard depending on it

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-10 12:13:40 +02:00
Martin Jansa
efd2f36f73 udev-173: use tar.gz instead of git checkout
* today it's easier to find right tar.gz stored somewhere then working git.kernel.org

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-14 13:04:45 +02:00
Koen Kooi
40e2732744 udev: update to 173
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-02 10:31:11 +02:00
Koen Kooi
7eaa5bd132 udev: update to 172
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-11 17:13:08 +02:00
Otavio Salvador
d014d6322b udev-extra-rules: refactor mount.sh script
Avoids a fork for using cat and do a whitespace cleanup.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-06-02 10:04:55 +02:00
Koen Kooi
7da05acc46 udev-extra-rules: remove modprobe rule, it has moved back to udev
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-31 20:37:45 +02:00
Koen Kooi
d273a777b4 udev 171: readd modprobe rule to main recipe
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-31 20:37:36 +02:00
Koen Kooi
5c3ba55683 udev 171: disable cache on systemd setups
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-31 10:50:01 +02:00
Koen Kooi
a753f40478 udev: drop 168 and associated files
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-30 13:54:49 +02:00
Koen Kooi
c1111466bd udev 171: cleanup duplicated rules some more
Install only upstream rules and the touchscreen0 symlink rule

That gets us to:

root@beagleboard-c3:~# time (udevadm trigger ; udevadm settle)

real    0m1.540s
user    0m0.062s
sys     0m0.273s

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-30 13:54:49 +02:00
Koen Kooi
7aa7dd55db udev-extra-rules: recipe with extra rules previously provided by udev
These rules had no demonstratable benefit and slow down bootup a lot

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-30 13:54:49 +02:00
Koen Kooi
5e4b91988c udev 171: add recipe with DP = -1
This is meant for people to test before making it the default. The goal is to
get rid of as many udev rules as possible to speed up boot time

Some numbers of udev-trigger running on beagleboard/angstrom:

udev with no accept4() syscall in libc: 180s

udev 168 with default rules: 	12s
udev 171 with default rules:	8s
udev 171 with minimal rules		0.8s

These times vary with the number of devices attached, SD card speed, etc.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-28 16:42:55 +02:00
Koen Kooi
db5b58fd25 udev 168: enable systemd support, but package systemd files seperately
Systemd support in udev only affects 'make install', so no changes for sysvinit based systems

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-26 11:08:09 +02:00
Otavio Salvador
a6b5a90ea7 udev: move ConsoleKit files to udev-consolekit
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-23 16:13:18 +02:00
Otavio Salvador
896ba39f88 udev: remove udev.inc since it was not being in use
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-23 16:13:18 +02:00
Otavio Salvador
c1da9cf13b udev: fix action used during startup
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-23 16:13:18 +02:00
Otavio Salvador
4ab0bd1935 udev: fix init script indenting
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-23 16:13:18 +02:00
Koen Kooi
88295fc7dd udev: update to 168
This also removes machine specific files

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-16 15:38:23 +02:00
Martin Jansa
295562b311 udev: drop udev-compat for zaurus devices
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-10 13:57:32 +02:00
Koen Kooi
c58cc7d379 move layer into meta-oe in preparation for future splits
As per TSC decision

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-17 21:41:22 +01:00