[yocto] Bitbake bash completion

ChenQi Qi.Chen at windriver.com
Tue Nov 11 23:14:15 PST 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Improve-speed-accuracy-and-user-experience.patch
Type: text/x-patch
Size: 2523 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141112/294adda7/attachment.bin>


More information about the yocto mailing list