]> code.ossystems Code Review - openembedded-core.git/commit
package_manager.py: create separate class for installed packages listing
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 18 Mar 2014 11:03:51 +0000 (11:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Mar 2014 12:05:30 +0000 (12:05 +0000)
commita7290ed13378826723d1edc7e828eab848eaad10
treee813332c8ccb00286ddcd6da5798d800e4cacc57
parent5df4e63e747028c3ce89f1f9ae01a766ae34dc3d
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@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py