]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/package_manager: Add list_pkgs() to PkgsList class
authorMariano Lopez <mariano.lopez@linux.intel.com>
Mon, 18 Jan 2016 14:33:04 +0000 (14:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jan 2016 09:20:05 +0000 (09:20 +0000)
commit6cbb144a86a8188fad102bb281fd9e8d0a4b9142
treee95e94b1e3bcc64c2aa7bdb4674e8549984bd3f3
parentf1d9f7b2ea930fec3198264a2d1d04088efc8f3c
lib/oe/package_manager: Add list_pkgs() to PkgsList class

Currently the class PkgList returns a formated string of the
installed packages. It would be more clean to pass a standard
data structure to the callers instead to format the output
inside PkgsList class.

This patch adds list_pkgs() method to PkgsList class to get the
all the information for installed packages and return a dictionary
with the info.

[YOCTO #7427]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/package_manager.py