aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev-164
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-11-02 02:23:14 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-07 14:03:36 +0000
commiteacafd21999ab37b60af29dc3e626c441716ef66 (patch)
tree35c11f13ca9f6378e2373b7a0b1154b715e5e203 /meta/recipes-core/udev/udev-164
parent2b14046c12855b6f484ba5bd6bc0a8022de6873e (diff)
downloadopenembedded-core-contrib-eacafd21999ab37b60af29dc3e626c441716ef66.tar.gz
openembedded-core-contrib-eacafd21999ab37b60af29dc3e626c441716ef66.tar.bz2
openembedded-core-contrib-eacafd21999ab37b60af29dc3e626c441716ef66.zip
udev-164: Update init script to do an explicit add action
With udev 152 or greater the default action for 'udevadm trigger' was modified to be 'change' instead of 'add. To ensure initial coldplug events at boot are seen be scripts the are expecting them as 'add' events we invoke udevadm with an explicit '--action=add'. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'meta/recipes-core/udev/udev-164')
-rw-r--r--meta/recipes-core/udev/udev-164/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/udev/udev-164/init b/meta/recipes-core/udev/udev-164/init
index 9ce95ee4c2..073942f27e 100644
--- a/meta/recipes-core/udev/udev-164/init
+++ b/meta/recipes-core/udev/udev-164/init
@@ -48,10 +48,10 @@ kill_udevd > "/dev/null" 2>&1
/sbin/udevadm control --env=STARTUP=1
if [ "$not_first_boot" != "" ];then
- /sbin/udevadm trigger --subsystem-nomatch=tty --subsystem-nomatch=mem --subsystem-nomatch=vc --subsystem-nomatch=vtconsole --subsystem-nomatch=misc --subsystem-nomatch=dcon --subsystem-nomatch=pci_bus --subsystem-nomatch=graphics --subsystem-nomatch=backlight --subsystem-nomatch=video4linux --subsystem-nomatch=platform
+ /sbin/udevadm trigger --action=add --subsystem-nomatch=tty --subsystem-nomatch=mem --subsystem-nomatch=vc --subsystem-nomatch=vtconsole --subsystem-nomatch=misc --subsystem-nomatch=dcon --subsystem-nomatch=pci_bus --subsystem-nomatch=graphics --subsystem-nomatch=backlight --subsystem-nomatch=video4linux --subsystem-nomatch=platform
(/sbin/udevadm settle --timeout=3; /sbin/udevadm control --env=STARTUP=)&
else
- /sbin/udevadm trigger
+ /sbin/udevadm trigger --action=add
/sbin/udevadm settle
fi