[poky] [PATCH V2 1/1] tiny-init: fix bashism

Darren Hart dvhart at linux.intel.com
Mon Aug 5 00:09:59 PDT 2013


On Mon, 2013-08-05 at 09:27 +0800, Qi.Chen at windriver.com wrote:
> From: Chen Qi <Qi.Chen at windriver.com>
> 
> "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