]> code.ossystems Code Review - openembedded-core.git/commit
package management: Allow dynamic loading of PM
authorFredrik Gustafsson <fredrik.gustafsson@axis.com>
Tue, 8 Sep 2020 10:53:07 +0000 (12:53 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Nov 2020 15:53:03 +0000 (15:53 +0000)
commit02670501dea192879ddf9f8048eea57a94719fc1
tree12d5c414d6ddf8a17fbf579fc32339e56921e5a0
parentc9b6974cfcac370c6848d28400e0546ac85512e9
package management: Allow dynamic loading of PM

Dynamic loading of package managers will allow other layers to simply
add their package manager code in package_manager/ and have bitbake find
it according to the package manager configuration. This is useful for
adding new (faster) package managers to Open Embedded while not increasing the
test scope or require Open Embedded to support more package managers.

How this is tested:
* Build core-image-minimal with all three package managers
* Build the sdk with all three package managers. dpkg fails, but
  it fails on master as well.
* Run the complete test suite, all tests passed except 16
* Run those 16 tests on master and verify that they fail there as well
* Fix errors making tests works on master but not with this patch.

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15 files changed:
meta/lib/oe/manifest.py
meta/lib/oe/package_manager/deb/__init__.py
meta/lib/oe/package_manager/deb/manifest.py
meta/lib/oe/package_manager/deb/rootfs.py
meta/lib/oe/package_manager/deb/sdk.py
meta/lib/oe/package_manager/ipk/__init__.py
meta/lib/oe/package_manager/ipk/manifest.py
meta/lib/oe/package_manager/ipk/rootfs.py
meta/lib/oe/package_manager/ipk/sdk.py
meta/lib/oe/package_manager/rpm/__init__.py
meta/lib/oe/package_manager/rpm/manifest.py
meta/lib/oe/package_manager/rpm/rootfs.py
meta/lib/oe/package_manager/rpm/sdk.py
meta/lib/oe/rootfs.py
meta/lib/oe/sdk.py