How patching works in yocto
I am using BBB to understand the yocto-project. I am not sure how patching works. This is my project directory ├── meta-testlayer ├── poky meta-test layer contains a helloworld example ├── conf │ └── layer.conf ├── COPYING.MIT ├── README └── recipes-hello └── helloworld ├── helloworld-0.1 │ ├── helloworld.c │ ├── helloworld.patch │ └── newhelloworld.c └── helloworld_0.1.bb helloworld.c and newhelloworld.c differ by only one printf statement. Here is the content of helloworld.c #include <stdio.h> int main(int argc, char **argv) { printf("Hi, this is my first custom recipe. Have a good day\n");