Commit Graph

9 Commits

Author SHA1 Message Date
Jonathan Liu
29afecace9 udev: process udev events on startup in init.d script
udev rules are not processed for kernel events that occur before
the udev daemon is started. Call udevadm trigger to replay these
missed events.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-30 21:18:09 +02:00
Jonathan Liu
b08fd56ae8 udev: use /dev if udev_root not defined in init.d script
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-30 21:18:06 +02:00
Jonathan Liu
f870c626dc udev: fix stopping execution of udev events in init.d script
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-30 21:18:04 +02:00
Yegor Yefremov
f94818b0fa udev: bump to 181 and other fixes
Changes:
- Linux kernel requirement: 2.6.34 and above (devtmpfs is mandatory)
(this also applies to the chosen toolchain, because of Kernel headers)
- optional dependency on libusb and usbutils removed
- added dependency on kmod
- added dependency on util-linux for libblkid
- install in /lib/udev instead of /usr/libexec/udev
- udevd moved to /lib/udev
- fixed path to pci.ids and usb.ids
- persistent rules generator is disabled by default, so option
is introduced to enable this option if desired

[Peter: fix build on uClibc, Config.in tweaks]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-08 21:56:47 +01:00
Yegor Yefremov
f0952fcdb6 udev: bump version and clean up
[Peter: fix Config.in deps, add host-pkg-config]
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25 23:33:29 +02:00
Thomas Petazzoni
ca520507fc Simplify udev startup script
The S10udev startup script did useless things such as mounting sysfs,
mounting a tmpfs filesystem in /dev/, etc. Those things are already
done during in the default inittab.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-09 14:20:20 +02:00
Peter Korsgaard
a222edcbcf package/udev: create base device nodes after mounting a new /dev
Currently, udev won't start for me, as we've just mounted a new /dev,
which is completely empty, and udevd requires a /dev/null.

This change manually creates the three base device nodes (zero, null
and console) so that udev can start.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2008-12-08 13:41:59 +00:00
Ulf Samuelsson
673e3ca2e4 Bump udev version, add rules 2007-08-11 16:50:49 +00:00
"Steven J. Hill"
6b00c90d70 Rename all INIT scripts to have the numerical prefixes to easily see the start-up order. 2007-05-09 22:48:41 +00:00