[OE-core] [oe-core] How to query installed rpm packages

Giuseppe Condorelli giuseppe.condorelli at gmail.com
Mon May 28 13:14:32 UTC 2012


Hi All,

I need to query, via rpm command, the packages installed building an own
image recipe.
I know the populate_rootfs step for images uses rpm to install the packages
(if we set PACKAGE_CLASSES).
To do this it sets a dbpath and a root path for installing the packages.
I need to know how to query them (rpm -qa ....) given that dbpath is set to
/var/lib/rpm but I think it actually doesn't override
the real /var/lib/rpm database (also I'm not building as superuser).

Please can you help me?
Best Regards,
Giuseppe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120528/77ea918d/attachment-0002.html>


More information about the Openembedded-core mailing list