Skip to content

lievenhey/bitbake-completion

 
 

Repository files navigation

bitbake-completion

Bitbake bash completion scripts compatible with version 1.40.0, and with Yocto 2.6 (Thud) release.

How to use it ?

  • Just copy the "bitbake_completion" file to /etc/bash_completion.d:

$ cp bitbake_completion /etc/bash_completion.d/

  • or source file

$ source bitbake_completion

Gif

Available completion files:

  • bitbake,
  • bitbake-diffsigs,
  • bitbake-dumpsig,
  • bitbake-layers,
  • bitbake-prserv,
  • bitbake-selftest,
  • devtool.

How does it work ?

It will create 2 hidden files with using $ bitbake -s in the build directory on the first execution:

.bb_recipes - file with cache of available bitbake recipes .bb_layers_conf.md5 - bblayers.conf md5 checksum file

It will create a new cache of available bitbake recipes in the following situations:

  1. When updating the bblayers.conf file.
  2. When running bitbake for the first time.

TODO list:

  • bash bitbake completion latest release 1.40.0 (yocto - Thud 2.6)
  • create bash completion for other yocto tools (e.g bitbake-layers, bitbake-diffsigs)
  • support older branches
  • support for zsh completion

Contributing and reporting bugs

Please send any bug report, pull requests, patches, comments or questions to Łukasz Gardoń [email protected].

Maintainer

Łukasz Gardoń [email protected]

Project Forked from

Sergio Prado [email protected]

https://github.com/sergioprado/bitbake-bash-completion

About

Bitbake bash completion script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%