diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-04-09 09:08:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-09 18:09:14 +0100 |
commit | 307e860860badd4420a01ed781c6c845fc9bf603 (patch) | |
tree | 4642c7ec1157873c30139274ddcf13529146f01e /meta/recipes-core/udev/udev | |
parent | f6ae87e838685bd28c44512b3fd97bc5ad8127a7 (diff) | |
download | ast2050-yocto-poky-307e860860badd4420a01ed781c6c845fc9bf603.zip ast2050-yocto-poky-307e860860badd4420a01ed781c6c845fc9bf603.tar.gz |
udev: fix init script for the location of udevd
Ensure we can update the script base don the location of the udevd installation
(From OE-Core rev: 25ff5960e41b9d7c62b05a08dd77cf11390962a1)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev/udev')
-rw-r--r-- | meta/recipes-core/udev/udev/init | 4 | ||||
-rw-r--r-- | meta/recipes-core/udev/udev/udev-cache | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index 95d2672..37b5231 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init @@ -15,7 +15,7 @@ export TZ=/etc/localtime [ -d /sys/class ] || exit 1 [ -r /proc/mounts ] || exit 1 -[ -x /lib/udev/udevd ] || exit 1 +[ -x @UDEVD@ ] || exit 1 [ -f /etc/default/udev-cache ] && . /etc/default/udev-cache [ -f /etc/udev/udev.conf ] && . /etc/udev/udev.conf @@ -71,7 +71,7 @@ case "$1" in # trigger the sorted events echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug - /lib/udev/udevd -d + @UDEVD@ -d /usr/bin/udevadm control --env=STARTUP=1 if [ "$not_first_boot" != "" ];then diff --git a/meta/recipes-core/udev/udev/udev-cache b/meta/recipes-core/udev/udev/udev-cache index 0f3d7cd..01fec6e 100644 --- a/meta/recipes-core/udev/udev/udev-cache +++ b/meta/recipes-core/udev/udev/udev-cache @@ -12,7 +12,7 @@ export TZ=/etc/localtime [ -r /proc/mounts ] || exit 1 -[ -x /lib/udev/udevd ] || exit 1 +[ -x @UDEVD@ ] || exit 1 [ -d /sys/class ] || exit 1 [ -f /etc/default/udev-cache ] && . /etc/default/udev-cache |