Skip to content

Clean PkgsList return data implementation.

[email protected] openembedded-core 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v24 patches 0 repliesSuperseded
  3. v14 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Fix exception when creating read only rootfs

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/oe/package_manager: Add list_pkgs() to PkgsList classmeta/lib/oe/package_manager.py+135 -00 replies
2/4lib/oe/utils: Add function format_pkg_list()meta/lib/oe/utils.py+22 -00 replies
3/4lib/oe/rootfs: Use list_pkgs() instead of list()meta/classes/buildhistory.bbclass meta/classes/license.bbclass meta/classes/populate_sdk_base.bbclass +4 more+41 -260 replies
4/4lib/oe/package_manager.py: Remove list() from PkgsList classmeta/lib/oe/package_manager.py+0 -1530 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCHv3 0/4] Clean PkgsList return data implementation.

From: Mariano Lopez <[email protected]>

Currently the when calling the list() from the classes that inherit from PKgsList, it must pass the format required and it will return a formated string listing all the packages installed. Retruning such string is not the best data structure to manipulate in the callers.

This series of patches change PkgsList to return a dictionary and the callers will format the output as required.

Changes in V2:

- Fix the last break line in the image manifest
- Fix issue not showing the last pkg when using deb or ipk

Changes in V3:

- Fix exception when creating read only rootfs

The following changes since commit a2f23fa62858b89850aab339ddec16dcf6026b37:

openssh: CVE-2016-1907 (2016-01-18 11:47:08 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib mariano/bug7427v3
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mariano/bug7427v3

Mariano Lopez (4):
lib/oe/package_manager: Add list_pkgs() to PkgsList class lib/oe/utils: Add function format_pkg_list() lib/oe/rootfs: Use list_pkgs() instead of list() lib/oe/package_manager.py: Remove list() from PkgsList class

 meta/classes/buildhistory.bbclass        |  11 +-
 meta/classes/license.bbclass             |   8 +-
 meta/classes/populate_sdk_base.bbclass   |   8 +-
 meta/classes/rootfs-postcommands.bbclass |   4 +-
 meta/lib/oe/package_manager.py           | 200 ++++++++++++++-----------------
 meta/lib/oe/rootfs.py                    |  10 +-
 meta/lib/oe/sdk.py                       |   8 +-
 meta/lib/oe/utils.py                     |  22 ++++
 8 files changed, 145 insertions(+), 126 deletions(-)
Signature · 1 line
1.8.4.5