All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pascal Ouyang <xin.ouyang@windriver.com>
To: <jackie.huang@windriver.com>, <yocto@yoctoproject.org>,
	<mark.hatle@windriver.com>
Subject: Re: [meta-selinux][PATCH] udev/init: fix the invalid binary path
Date: Thu, 23 Jan 2014 11:24:15 +0800	[thread overview]
Message-ID: <52E08B5F.80304@windriver.com> (raw)
In-Reply-To: <1390371472-17124-1-git-send-email-jackie.huang@windriver.com>

于 14-1-22 下午2:17, jackie.huang@windriver.com 写道:
> From: Jackie Huang <jackie.huang@windriver.com>
> 
> The invalid binary path causes failure:
> udevd[102]: starting version 182
> /etc/rcS.d/S04udev: line 106: /usr/bin/udevadm: No such file or directory
> 
> use the command 'udevadm' directly in the init just as the oe-core one does.
> 
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
>   recipes-core/udev/udev/init |   10 +++++-----
>   1 file 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
>       echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
>       @UDEVD@ -d
>   
> -    /usr/bin/udevadm control --env=STARTUP=1
> +    udevadm control --env=STARTUP=1
>       if [ "$not_first_boot" != "" ];then
> -            /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
> -            (/usr/bin/udevadm settle --timeout=10; /usr/bin/udevadm control --env=STARTUP=)&
> +            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
> +            (udevadm settle --timeout=10; udevadm control --env=STARTUP=)&
>       else
> -            /usr/bin/udevadm trigger --action=add
> -            /usr/bin/udevadm settle
> +            udevadm trigger --action=add
> +            udevadm settle
>       fi
>   
>       test ! -x /sbin/restorecon || /sbin/restorecon -F /dev
> 

This is ok, I will add a ref to oe-core commit:

http://git.openembedded.org/openembedded-core/commit/?id=cc0f22cd1e93cc25647add1a3339e150572e4fce

And change you message and merge.

Thanks. :)
-- 
- Pascal


      reply	other threads:[~2014-01-23  3:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22  6:17 [meta-selinux][PATCH] udev/init: fix the invalid binary path jackie.huang
2014-01-23  3:24 ` Pascal Ouyang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52E08B5F.80304@windriver.com \
    --to=xin.ouyang@windriver.com \
    --cc=jackie.huang@windriver.com \
    --cc=mark.hatle@windriver.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.