]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/package_manager.py: add new package management library
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 18 Dec 2013 15:46:12 +0000 (17:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:50:25 +0000 (11:50 +0000)
commit224e5053044b4c7966fea3b8d199a3dfd4fe438e
tree10a09d446fa9d8b453f82b26c4d922f82e78e8ce
parenta9d8e5e5878d14b4804317a7f7ea6394fca5e010
lib/oe/package_manager.py: add new package management library

This new library is intended to be used by the new python rootfs
creation code.

It implements the rpm/dpkg/opkg package management backends: RpmPM,
DpkgPM and OpkgPM.

The base API is this:
  update()
  install()
  install_complementary()
  remove()
  write_index()
  remove_packaging_data()
  list_installed()

All implementations have to provide these functions. Some backends may
need to implement additional functions though.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
meta/lib/oe/package_manager.py [new file with mode: 0644]