diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2011-05-23 13:07:36 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-05-23 16:13:18 +0200 |
| commit | c1da9cf13b2e25ba6640e76c3a8a3556696c9652 (patch) | |
| tree | 1b4171774ab52ce5dc148fa3b1f758ed31028387 | |
| parent | 4ab0bd193541063df88176981997a4a2b277416f (diff) | |
| download | meta-openembedded-c1da9cf13b2e25ba6640e76c3a8a3556696c9652.tar.gz | |
udev: fix action used during startup
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | meta-oe/recipes-core/udev/udev/init | 4 | ||||
| -rw-r--r-- | meta-oe/recipes-core/udev/udev_168.bb | 2 |
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 808d9e9012..ecc357d4fe 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 |
| 67 | if [ "$not_first_boot" != "" ];then | 67 | if [ "$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=)& |
| 70 | else | 70 | else |
| 71 | /sbin/udevadm trigger | 71 | /sbin/udevadm trigger --action=add |
| 72 | /sbin/udevadm settle | 72 | /sbin/udevadm settle |
| 73 | fi | 73 | fi |
| 74 | 74 | ||
diff --git a/meta-oe/recipes-core/udev/udev_168.bb b/meta-oe/recipes-core/udev/udev_168.bb index 4e34c0ddc9..eaba889010 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 | ||
| 38 | PR = "r1" | ||
| 39 | |||
| 38 | inherit update-rc.d autotools | 40 | inherit update-rc.d autotools |
| 39 | 41 | ||
| 40 | EXTRA_OECONF += " --with-udev-prefix= \ | 42 | EXTRA_OECONF += " --with-udev-prefix= \ |
