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:58:10 +0100 |
commit | c5bea36b7275f1692f5847af84d320b674a4c62e (patch) | |
tree | ad4222a7564b5710472b0673e0503cb03884f6d4 /meta/lib/oeqa | |
parent | 635305fe27b12fca554d694da00ba31d4b552d39 (diff) | |
download | poky-c5bea36b7275f1692f5847af84d320b674a4c62e.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
(From OE-Core rev: 8b776ed9ed291dd8e112621561762449c7eb5ee2)
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): | |||
12 | """ | 12 | """ |
13 | Returns an OE package manager that can install packages in root_path. | 13 | Returns an OE package manager that can install packages in root_path. |
14 | """ | 14 | """ |
15 | from oe.package_manager import RpmPM, OpkgPM, DpkgPM | 15 | from oe.package_manager import OpkgPM, DpkgPM |
16 | from oe.package_manager.rpm import RpmPM | ||
17 | |||
16 | 18 | ||
17 | pkg_class = d.getVar("IMAGE_PKGTYPE") | 19 | pkg_class = d.getVar("IMAGE_PKGTYPE") |
18 | if pkg_class == "rpm": | 20 | if pkg_class == "rpm": |