summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/sdk.py
diff options
context:
space:
mode:
authorOleksiy Obitotskyy <oobitots@cisco.com>2021-12-29 06:42:03 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-04 23:13:32 +0000
commit79a2392f5d2a4cb6509a83afb40bca01bac59914 (patch)
treeb289fcd18185c6381125d4e2d45407eb9963bbfe /meta/lib/oe/sdk.py
parent938dd031bc2577417266f032e53490909654220c (diff)
downloadopenembedded-core-contrib-79a2392f5d2a4cb6509a83afb40bca01bac59914.tar.gz
package_manager: ipk: Fix host manifest generation
Since honister host manifest stopped to generate, i.e. manifest file is empty but all ipks/files into sdk is ok. Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/sdk.py')
-rw-r--r--meta/lib/oe/sdk.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index 37b59afd1a..27347667e8 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -115,6 +115,10 @@ def sdk_list_installed_packages(d, target, rootfs_dir=None):
rootfs_dir = [sdk_output, os.path.join(sdk_output, target_path)][target is True]
+ if target is False:
+ ipkgconf_sdk_target = d.getVar("IPKGCONF_SDK")
+ d.setVar("IPKGCONF_TARGET", ipkgconf_sdk_target)
+
img_type = d.getVar('IMAGE_PKGTYPE')
import importlib
cls = importlib.import_module('oe.package_manager.' + img_type)