[yocto] Bitbake bash completion

Sergio Prado sergiosiena at gmail.com
Wed Nov 12 05:08:33 PST 2014


Hello Chen,

Good idea on keeping the cache of available bitbake recipes.

Patch applied, thanks.

Sergio Prado
www.sergioprado.org
https://twitter.com/sergioprado


2014-11-12 5:14 GMT-02:00 ChenQi <Qi.Chen at windriver.com>:
> Hi Prado,
>
> It's really a good idea. I've tried it out.
>
> Attached is a patch to improve speed, accuracy and user experience.
>
> Regards,
> Chen Qi
>
>
> On 11/12/2014 08:27 AM, Sergio Prado wrote:
>>
>> Hello all,
>>
>> I have just written a bitbake bash completion script so it could make
>> my life easier when trying to discover a recipe name and bake it.
>>
>> https://github.com/sergioprado/bitbake-bash-completion
>>
>> It should complete all commands (bitbake 1.22.0), recipes and tasks.
>>
>> When running for the first time, it will execute "bitbake -e" to get
>> the BBPATH variable and save it in a hidden file. It will use this
>> file on subsequent executions.
>>
>> Feel free to try it and let me know if you find any bug or have
>> suggestions on how to improve it.
>>
>> Thanks,
>>
>> Sergio Prado
>> www.sergioprado.org
>> https://twitter.com/sergioprado
>
>



More information about the yocto mailing list