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

Martin Jansa martin.jansa at gmail.com
Thu Jan 23 12:26:45 PST 2014


On Thu, Jan 23, 2014 at 02:35:06PM -0500, Brian Hutchinson wrote:
> Hi,
> 
> I've seen the bitbake -g command that lists the packages in an image:
> 
> bitbake -g <*image>* && cat pn-depends.dot | grep -v -e '-native' | grep -v
> digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq
> 
> ... but for documentation I need to generate this list with package version
> information as well.
> 
> I've been just running opkg list-installed on the target but I'd like to
> know how to do this kind of thing without the target and I'm striking out
> in all the searches I've been doing.

I would recommend using buildhistory.bbclass it's really useful.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140123/babad6d8/attachment.pgp>


More information about the yocto mailing list