Bitbake: How to list all recipe and append files used in an image?

user5071535 picture user5071535 · Sep 29, 2015 · Viewed 14.1k times · Source

I'm using OpenEmbedded-Core and have created a custom layer with priority 6. Months of development have gone by, and now I want to increase my layer's priority to 8 because an append file from another layer with priority 7 is interfering with an append file I'm adding in my layer.

My question is, how can I generate a list of recipes and .bbappend files used in an image?

I want to generate the list both before and after I make the priority change so that I can compare them (with a difftool hopefully) to see if any unexpected side-effects occurred, like an important append file from the other layer getting ignored potentially.

I'm using the angstrom-v2014.12-yocto1.7 branch of the Angstrom distribution.

[EDIT]

I'm now primarily just interested in determining how to list which .bbappend files are actually used by my image at this point.

A list of packages can be viewed using "bitbake -g your-image-name" as suggested by @pnxs, or from the .manifest file (which is what I like to use) which in my case is located under deploy/glibc/images/imagename/. I originally asked how a list of "recipe files" could be generated, but I think a list of packages is sufficient.

Regarding the .bbappends though, I had a case where my own .bbappend was ignored due to layer priorities. I made a change to my layer priorities and now want to see if that caused any .bbappend files anywhere else in my image to get ignored. As I understand it, using "bitbake-layers show-appends" as suggested lists all .bbappends present rather than just those which are actually used in the creation of an image, so this doesn't do what I'm looking for.

Answer

balister picture balister · Oct 12, 2015

Try using "bitbake-layers show-appends" to see what bbappends are used. But that will only work on a per-recipe basis. But that might give you the information you need to understand the priorities.