How to work with devtool and bitbake to create patches?

Hi,

To create a image for custom boards I run ./balena-yocto-scripts/build/barys

Usually there is a script to setup the environment and then I can run devtool, bitbake etc. The barys-script seams to do it all and then clean up the environment.

But how do I run devtool modify and so on to create patches?

Hello! After the project has been created by barys (maybe by using --dry-run). You can do source layers/poky/oe-init-build-env build and then run bitbake, devtools as usual.

Thanks!