summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorFredrik Gustafsson <fredrik.gustafsson@axis.com>2020-07-24 16:42:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-27 19:58:10 +0100
commitc5bea36b7275f1692f5847af84d320b674a4c62e (patch)
treead4222a7564b5710472b0673e0503cb03884f6d4 /meta/lib/oeqa
parent635305fe27b12fca554d694da00ba31d4b552d39 (diff)
downloadpoky-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.py4
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":