1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

ipk: 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: 3ef5a3c885e1010cddfe7eba1cd3728f15270d78)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Fredrik Gustafsson
2020-07-24 16:42:40 +02:00
committed by Richard Purdie
parent c5bea36b72
commit 5bc67f5502
7 changed files with 508 additions and 435 deletions
+2 -1
View File
@@ -12,8 +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 OpkgPM, DpkgPM
from oe.package_manager import DpkgPM
from oe.package_manager.rpm import RpmPM
from oe.package_manager.ipk import OpkgPM
pkg_class = d.getVar("IMAGE_PKGTYPE")