we are using bitbake/oe-core for building of our OS for colibri module. We have a lot of patch files spread in recipes directories (patches to kernel, u-boot etc.). The problem is, our patches are compatible only with certain commit in git repository. If we try to apply our patches to the latest version, some of them fails (with error “while searching for…”).
According to this, it looks that we need to adjust our patches according to changes to the source code on git repo.
To be more specific, I’m trying to fix this problem currently on u-boot, branch 2016.11-toradex. Patches were created on older code (commit f0e414972b5b225e33ebe75574562266116746f9 from 14 June 2017).
Is there any recommended way how to keep patches, used by oe-core recipes, compatible with new commits in source code?
Many thanks for any recommendations
EDIT: It looks like tool “devtool” from Yocto can do this job. I’m going to investigate it, but still any comments are welcomed TipsAndTricks/Patching the source for a recipe - Yocto Project