summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2013-02-10 00:09:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-11 14:32:18 +0000
commitbee0b38726645bca65161680a99203f9c8525944 (patch)
tree72e4aa3d7681ee2ef94e2380dc9f563b0dbb9003 /meta/recipes-core
parent3085f028356695c549172704da4db59572ae3aeb (diff)
downloadpoky-bee0b38726645bca65161680a99203f9c8525944.tar.gz
udev: Modify init script to use the correct path of udevadm
udevadm is installed in /usr/bin not in /usr/sbin. Init script modified accordingly. (From OE-Core rev: b8ba1e3db44d2443e0071d4923101280151ccd03) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/udev/udev/init10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init
index 8ac1ff7b9c..95d2672be8 100644
--- a/meta/recipes-core/udev/udev/init
+++ b/meta/recipes-core/udev/udev/init
@@ -73,13 +73,13 @@ case "$1" in
73 echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug 73 echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
74 /lib/udev/udevd -d 74 /lib/udev/udevd -d
75 75
76 /usr/sbin/udevadm control --env=STARTUP=1 76 /usr/bin/udevadm control --env=STARTUP=1
77 if [ "$not_first_boot" != "" ];then 77 if [ "$not_first_boot" != "" ];then
78 /usr/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 78 /usr/bin/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
79 (/usr/sbin/udevadm settle --timeout=3; /sbin/udevadm control --env=STARTUP=)& 79 (/usr/bin/udevadm settle --timeout=3; /usr/bin/udevadm control --env=STARTUP=)&
80 else 80 else
81 /usr/sbin/udevadm trigger --action=add 81 /usr/bin/udevadm trigger --action=add
82 /usr/sbin/udevadm settle 82 /usr/bin/udevadm settle
83 fi 83 fi
84 ;; 84 ;;
85 stop) 85 stop)