[oe-commits] Laurentiu Palcu : package_manager.py: create separate class for installed packages listing

git at git.openembedded.org git at git.openembedded.org
Fri Mar 21 11:58:38 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: a7290ed13378826723d1edc7e828eab848eaad10
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a7290ed13378826723d1edc7e828eab848eaad10

Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date:   Tue Mar 18 11:03:51 2014 +0000

package_manager.py: create separate class for installed packages listing

This commit creates a new class that has the only purpose to generate
various listings of installed packages in the rootfs.

Basically, the methods involved in listing the installed packages, that
were part of each backend PM class implementation, were moved to this
new class.

This change avoids instantiating a new PM object just to get the list of
installed packages in a certain rootfs.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oe/package_manager.py | 376 +++++++++++++++++++++++------------------
 1 file changed, 211 insertions(+), 165 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=a7290ed13378826723d1edc7e828eab848eaad10


More information about the Openembedded-commits mailing list