How can I find what recipe a source file from the build/tmp/work directory came from? Normally, most of the recipes in the source folder have URI statements inside. The URIs get downloaded and installed to various temp folders. I want to create a patch for some of the files, but I'm having trouble determining which files belong to which recipes.
Run oe-pkgdata-util find-path /path/on/target/to/file. This will give you the package installing the file. From there, run oe-pkgdata-util lookup-recipe <pkg-name>, this will give you which recipe is creating the package. That should be enough to find out which recipe you need to modify. You then need to check whether the file you want to modify is part of the recipe (Yocto artifact) or part of the software that the recipe builds. For the former, you can override the file, for the latter, you can create a patch (you can use devtool to help you create the patch).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With