summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-11-02 02:23:14 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-30 16:38:10 +0000
commitaaea770f1ffa1c3018cc954a23bc8351827ea670 (patch)
tree64bad8b82b12af72e2918db6ed408a37d367b8aa /meta/recipes-core
parent6e4607f23af1deafeaefc3d06cfbce78be780d9b (diff)
downloadpoky-aaea770f1ffa1c3018cc954a23bc8351827ea670.tar.gz
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'. (From OE-Core rev: eacafd21999ab37b60af29dc3e626c441716ef66) (From OE-Core rev: c90e1c91efc721eb6910cd3244b7671b63a341b6) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/udev/udev-164/init4
-rw-r--r--meta/recipes-core/udev/udev_164.bb2
2 files changed, 3 insertions, 3 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
48 48
49 /sbin/udevadm control --env=STARTUP=1 49 /sbin/udevadm control --env=STARTUP=1
50 if [ "$not_first_boot" != "" ];then 50 if [ "$not_first_boot" != "" ];then
51 /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 51 /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
52 (/sbin/udevadm settle --timeout=3; /sbin/udevadm control --env=STARTUP=)& 52 (/sbin/udevadm settle --timeout=3; /sbin/udevadm control --env=STARTUP=)&
53 else 53 else
54 /sbin/udevadm trigger 54 /sbin/udevadm trigger --action=add
55 /sbin/udevadm settle 55 /sbin/udevadm settle
56 fi 56 fi
57 57
diff --git a/meta/recipes-core/udev/udev_164.bb b/meta/recipes-core/udev/udev_164.bb
index 689b5fdb4a..7cbe4d8b60 100644
--- a/meta/recipes-core/udev/udev_164.bb
+++ b/meta/recipes-core/udev/udev_164.bb
@@ -1,6 +1,6 @@
1include udev-new.inc 1include udev-new.inc
2 2
3PR = "r5" 3PR = "r6"
4 4
5SRC_URI += "file://udev-166-v4l1-1.patch" 5SRC_URI += "file://udev-166-v4l1-1.patch"
6 6