]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/rootfs: Use list_pkgs() instead of list()
authorMariano Lopez <mariano.lopez@linux.intel.com>
Mon, 18 Jan 2016 14:33:06 +0000 (14:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jan 2016 09:20:05 +0000 (09:20 +0000)
commit983ea373362514e5888bd1d7d9c4f136c94b00f2
tree67f16fdb709cb0ca76eafd7cd0569f18634f2ce2
parent25725e6e5fff8017aaf3a6fcd9b1b893c22630b5
lib/oe/rootfs: Use list_pkgs() instead of list()

This patch changes the use list_pkgs() instead of list()
from class RpmPkgsList. The change is in two functions,
image_list_installed_packages from rootfs.py and
sdk_list_installed_packages from sdk.py.

With this change the functions calling the functions
listed above, must format the output as they required.
The formatting can be done using format_pkg_list() from
oe.utils.

The classes calling the afected functions are changed too
with this patch, to keep the same functionality using the
new data structure.

[YOCTO #7427]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/buildhistory.bbclass
meta/classes/license.bbclass
meta/classes/populate_sdk_base.bbclass
meta/classes/rootfs-postcommands.bbclass
meta/lib/oe/package_manager.py
meta/lib/oe/rootfs.py
meta/lib/oe/sdk.py