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

Trevor Woerner trevor.woerner at linaro.org
Fri Jan 31 15:34:34 PST 2014


On 01/23/14 14:35, Brian Hutchinson wrote:
> but for documentation I need to generate this list with package
> version information as well.

I realize this has already been answered a couple different ways, but
(for completeness' sake) if you're using ipk as your package manager you
can also use the following.

Starting from your build directory, assuming you're building on an
x86_64 host, you're building "core-image-minimal", the machine you're
building for is "qemuarm", and your tmp directory (as defined in
conf/local.conf) is "tmp":

$ tmp/sysroots/x86_64-linux/usr/bin/opkg-cl \
    -o tmp/work/qemuarm-oe-linux-gnueabi/core-image-minimal/1.0-r0/rootfs \
    list-installed



More information about the yocto mailing list