diff options
author | Fredrik Gustafsson <fredrik.gustafsson@axis.com> | 2020-07-24 16:42:39 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-27 19:54:00 +0100 |
commit | 8b776ed9ed291dd8e112621561762449c7eb5ee2 (patch) | |
tree | 06e9225a065fbc40028d6b03e64691d23f0bdb6a /meta/lib/oeqa | |
parent | 2b305d5f48be84b6362be850d6e0b2bd7f4691ce (diff) | |
download | openembedded-core-contrib-8b776ed9ed291dd8e112621561762449c7eb5ee2.tar.gz |
rpm: Move package manager to its own dir
This is part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.
RP: Fixes to parse/build
Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/utils/package_manager.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/package_manager.py b/meta/lib/oeqa/utils/package_manager.py index 2d358f7172..15ffd59231 100644 --- a/meta/lib/oeqa/utils/package_manager.py +++ b/meta/lib/oeqa/utils/package_manager.py @@ -12,7 +12,9 @@ def get_package_manager(d, root_path): """ Returns an OE package manager that can install packages in root_path. """ - from oe.package_manager import RpmPM, OpkgPM, DpkgPM + from oe.package_manager import OpkgPM, DpkgPM + from oe.package_manager.rpm import RpmPM + pkg_class = d.getVar("IMAGE_PKGTYPE") if pkg_class == "rpm": |