Yocto Tips

Enable Javascript to display Table of Contents.

Commands for daily work

Command Description Source
bitbake -c cleansstate gstreamer To remove temp and sstate cache stackoverflow.com
bitbake world -c cleanall --continue Cleans everything - the --continue will ignore any dependency errors while cleaning. stackoverflow.com
Source: ...

Patching Recipes

With the command devtool modify <recipename> the sources will be downloaded to build/workspace/sources/<recipename> - as a git repository. When running bitbake <recipename> or bitbake <imagename> the separate sources will be used.

With devtool update-recipe -a ../meta-bh systemd you can create automatically patches.

With devtool reset <recipename> you can delete the git repository can switch back to the standard workflow.

Source: wiki.yoctoproject.org