Openembedded Core Discussions
 help / color / mirror / Atom feed
* How to query installed rpm packages
@ 2012-05-28 13:14 Giuseppe Condorelli
  2012-05-28 13:26 ` Paul Eggleton
  0 siblings, 1 reply; 9+ messages in thread
From: Giuseppe Condorelli @ 2012-05-28 13:14 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 647 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-05-30 10:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-28 13:14 How to query installed rpm packages Giuseppe Condorelli
2012-05-28 13:26 ` Paul Eggleton
2012-05-28 15:30   ` Giuseppe Condorelli
2012-05-28 16:23     ` Paul Eggleton
2012-05-29 13:20       ` Giuseppe Condorelli
2012-05-29 13:32         ` Paul Eggleton
2012-05-29 13:49           ` Giuseppe Condorelli
2012-05-30 10:29             ` Giuseppe Condorelli
2012-05-30 10:34               ` Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox