diff options
author | Oleksiy Obitotskyy <oobitots@cisco.com> | 2021-12-29 06:42:03 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-04 23:14:05 +0000 |
commit | 2a9bcdb2ea4acda6c55e345de02e2fc315b642a0 (patch) | |
tree | 317acbfac1f7060505ebb8209daa9a36dd8f44f3 /meta/lib | |
parent | b7263ed5347cea3b67c1ef31cc21e9b224e2d276 (diff) | |
download | poky-2a9bcdb2ea4acda6c55e345de02e2fc315b642a0.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.
(From OE-Core rev: 79a2392f5d2a4cb6509a83afb40bca01bac59914)
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/sdk.py | 4 |
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): | |||
115 | 115 | ||
116 | rootfs_dir = [sdk_output, os.path.join(sdk_output, target_path)][target is True] | 116 | rootfs_dir = [sdk_output, os.path.join(sdk_output, target_path)][target is True] |
117 | 117 | ||
118 | if target is False: | ||
119 | ipkgconf_sdk_target = d.getVar("IPKGCONF_SDK") | ||
120 | d.setVar("IPKGCONF_TARGET", ipkgconf_sdk_target) | ||
121 | |||
118 | img_type = d.getVar('IMAGE_PKGTYPE') | 122 | img_type = d.getVar('IMAGE_PKGTYPE') |
119 | import importlib | 123 | import importlib |
120 | cls = importlib.import_module('oe.package_manager.' + img_type) | 124 | cls = importlib.import_module('oe.package_manager.' + img_type) |