summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-05-23 13:07:36 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2011-05-23 16:13:18 +0200
commitc1da9cf13b2e25ba6640e76c3a8a3556696c9652 (patch)
tree1b4171774ab52ce5dc148fa3b1f758ed31028387 /meta-oe
parent4ab0bd193541063df88176981997a4a2b277416f (diff)
downloadmeta-openembedded-c1da9cf13b2e25ba6640e76c3a8a3556696c9652.tar.gz
udev: fix action used during startup
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-core/udev/udev/init4
-rw-r--r--meta-oe/recipes-core/udev/udev_168.bb2
2 files changed, 4 insertions, 2 deletions
diff --git a/meta-oe/recipes-core/udev/udev/init b/meta-oe/recipes-core/udev/udev/init
index 808d9e901..ecc357d4f 100644
--- a/meta-oe/recipes-core/udev/udev/init
+++ b/meta-oe/recipes-core/udev/udev/init
@@ -65,10 +65,10 @@ echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
65 65
66/sbin/udevadm control --env STARTUP=1 66/sbin/udevadm control --env STARTUP=1
67if [ "$not_first_boot" != "" ];then 67if [ "$not_first_boot" != "" ];then
68 /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 68 /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 --action=add
69 (/sbin/udevadm settle --timeout=8; /sbin/udevadm control --env STARTUP=)& 69 (/sbin/udevadm settle --timeout=8; /sbin/udevadm control --env STARTUP=)&
70else 70else
71 /sbin/udevadm trigger 71 /sbin/udevadm trigger --action=add
72 /sbin/udevadm settle 72 /sbin/udevadm settle
73fi 73fi
74 74
diff --git a/meta-oe/recipes-core/udev/udev_168.bb b/meta-oe/recipes-core/udev/udev_168.bb
index 4e34c0ddc..eaba88901 100644
--- a/meta-oe/recipes-core/udev/udev_168.bb
+++ b/meta-oe/recipes-core/udev/udev_168.bb
@@ -35,6 +35,8 @@ SRC_URI += " \
35 file://udev-compat-wrapper-patch \ 35 file://udev-compat-wrapper-patch \
36" 36"
37 37
38PR = "r1"
39
38inherit update-rc.d autotools 40inherit update-rc.d autotools
39 41
40EXTRA_OECONF += " --with-udev-prefix= \ 42EXTRA_OECONF += " --with-udev-prefix= \