Skip to contentSkip to conversation

package_manager: ipk: Fix host manifest generation

PATCH New Christian Eggers 1 participant 1 message Feb 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package_manager: ipk: Fix host manifest generation

From: Oleksiy Obitotskyy <[email protected]>

Since honister host manifest stopped to generate, i.e. manifest file is empty but all ipks/files into sdk is ok.

(cherry picked from commit 79a2392f5d2a4cb6509a83afb40bca01bac59914)
---
 meta/lib/oe/sdk.py | 4 ++++
 1 file changed, 4 insertions(+)
meta/lib/oe/sdk.py +4 -0
index 37b59afd1a99..27347667e846 100644
@@ -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)
Signature · 1 line
2.34.1