summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2014-01-22 14:17:52 +0800
committerXin Ouyang <xin.ouyang@windriver.com>2014-01-23 18:00:08 +0800
commit5a36af9f9195a957cf8c5ccd301568caf45921f8 (patch)
treeb47b4b6d821b4a894b3cb0baaf71082c24689f61
parentde0afbc8f434b235156e17234b72027840a821af (diff)
downloadmeta-selinux-5a36af9f9195a957cf8c5ccd301568caf45921f8.tar.gz
udev: remove explicit path to udevadm
Oe-core has chnaged the udevadm path, current path will causes failure: udevd[102]: starting version 182 /etc/rcS.d/S04udev: line 106: /usr/bin/udevadm: No such file or directory Fix as oe-core commit: cc0f22cd1e93cc25647add1a3339e150572e4fce Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
-rw-r--r--recipes-core/udev/udev/init10
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-core/udev/udev/init b/recipes-core/udev/udev/init
index a96638f..29146ec 100644
--- a/recipes-core/udev/udev/init
+++ b/recipes-core/udev/udev/init
@@ -103,13 +103,13 @@ case "$1" in
103 echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug 103 echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
104 @UDEVD@ -d 104 @UDEVD@ -d
105 105
106 /usr/bin/udevadm control --env=STARTUP=1 106 udevadm control --env=STARTUP=1
107 if [ "$not_first_boot" != "" ];then 107 if [ "$not_first_boot" != "" ];then
108 /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 108 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
109 (/usr/bin/udevadm settle --timeout=10; /usr/bin/udevadm control --env=STARTUP=)& 109 (udevadm settle --timeout=10; udevadm control --env=STARTUP=)&
110 else 110 else
111 /usr/bin/udevadm trigger --action=add 111 udevadm trigger --action=add
112 /usr/bin/udevadm settle 112 udevadm settle
113 fi 113 fi
114 114
115 test ! -x /sbin/restorecon || /sbin/restorecon -F /dev 115 test ! -x /sbin/restorecon || /sbin/restorecon -F /dev