[yocto] How to get a list of packages (with versions) used to create an image?

Nicolas Dechesne nicolas.dechesne at linaro.org
Thu Jan 23 13:09:04 PST 2014


On Thu, Jan 23, 2014 at 9:42 PM, Brian Hutchinson <b.hutchman at gmail.com> wrote:
> Yes, but:
>
> 1.  I don't think package-index is image specific ... its just a list of
> everything that has been bitbaked on the box (which doesn't equate to one
> particular image ... it's the net of all the packages from all the images
> that have been built thus far if I'm not mistaken ... it main use is so the
> feeds work and the the target know what packages are available).
> 2.  I felt like this was probably something common and a way already existed
> so I thought I should ask in case I missed something before I wasted time
> re-inventing the wheel.
>
> Based on the responses so far ... it looks like this might not be as common
> a request as I thought!
>

no. i think it is very common, and it's the purpose of 'buildhistory',
as mentioned already. for each image generated, you will get (among
other things)

installed-package-names.txt
installed-package-sizes.txt
installed-packages.txt

list of all packages with version, sizes, ..



More information about the yocto mailing list