[OE-core] [PATCH] udev: changed location of udevd to /sbin/udev/udevd

Saul Wold sgw at linux.intel.com
Tue Apr 9 16:07:11 UTC 2013


On 04/09/2013 08:58 AM, Alex DAMIAN wrote:
> From: Alexandru DAMIAN <alexandru.damian at intel.com>
>
> This ammends the init script after changing the location from
> /lib to /sbin.
>
This only fixes one location and does not make it dynamic, I will have a 
patch shortly to fix this.

Sau!

> Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
> ---
>   meta/recipes-core/udev/udev/init |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init
> index 95d2672..ea87d64 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 /sbin/udev/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
> +    /sbin/udev/udevd -d
>
>       /usr/bin/udevadm control --env=STARTUP=1
>       if [ "$not_first_boot" != "" ];then
>




More information about the Openembedded-core mailing list