[poky] [PATCH 1/1] tiny-init: fix bashism
Darren Hart
dvhart at linux.intel.com
Fri Aug 2 07:05:34 PDT 2013
On Fri, 2013-08-02 at 15:56 +0800, Qi.Chen at windriver.com wrote:
> From: Chen Qi <Qi.Chen at windriver.com>
I understand this is a simple fix, but please provide a commit log. In
this case, something like the following would suffice:
"source" is a bashism, replace it with the posix shell compliant "."
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Acked-by: Darren Hart <dvhart at linux.intel.com>
> ---
> meta-yocto/recipes-core/tiny-init/files/init | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-yocto/recipes-core/tiny-init/files/init b/meta-yocto/recipes-core/tiny-init/files/init
> index 4b78f01..9140e95 100644
> --- a/meta-yocto/recipes-core/tiny-init/files/init
> +++ b/meta-yocto/recipes-core/tiny-init/files/init
> @@ -15,7 +15,7 @@ ifup lo
>
> # Allow for distro or local customizations
> if [ -f /etc/rc.local ] ; then
> - source /etc/rc.local
> + . /etc/rc.local
> fi
>
> # Become session leader and try to find a real tty (e.g. ttyS0)
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the poky
mailing list