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

ChenQi Qi.Chen at windriver.com
Sun Aug 4 18:28:06 PDT 2013


On 08/02/2013 10:05 PM, Darren Hart wrote:
> 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 "."
Thanks.
Comment added and V2 sent.

Best Regards,
Chen Qi

>> 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)




More information about the poky mailing list