mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
Move packagedata code into oe.packagedata (sync from OE)
(From OE-Core rev: e6858627ab087f2f25ebbd6c4422eeae35f3b0ac) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2a05bd9be0
commit
e3d0d9897e
@@ -295,7 +295,9 @@ def runstrip(file, elftype, d):
|
||||
#
|
||||
|
||||
def get_package_mapping (pkg, d):
|
||||
data = read_subpkgdata(pkg, d)
|
||||
import oe.packagedata
|
||||
|
||||
data = oe.packagedata.read_subpkgdata(pkg, d)
|
||||
key = "PKG_%s" % pkg
|
||||
|
||||
if key in data:
|
||||
|
||||
Reference in New Issue
Block a user