Skip to contentSkip to conversation

sdk.py: fix write target sdk manifest failed based on ipk

PATCH New Hongxu Jia 1 participant 2 messages Oct 10, 2014

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover sdk.py: fix write target sdk manifest failed based on ipk

The following changes since commit 505a6b696ae990442de720e5e1135a3e44d5f75c:

bitbake: fetcher: fix BB_STRICT_CHECKSUM datatype check (2014-10-06 16:09:53 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/fix-sdk
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-sdk

Hongxu Jia (1):
sdk.py: fix write target sdk manifest failed based on ipk

 meta/lib/oe/sdk.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 sdk.py: fix write target sdk manifest failed based on ipk

bitbake meta-toolchain
ls tmp/deploy/sdk/poky-glibc-x86_64-meta-toolchain-i586-toolchain-1.7.manifest -al
...
|-rw-rw-r-- 1 root root 0 Oct 10 15:05 tmp/deploy/sdk/poky-glibc-x86_64- meta-toolchain-i586-toolchain-1.7.manifest
...

The manifest is empty, the reason is target's ipk config path is d.getVar('IPKGCONF_TARGET') rather than d.getVar('IPKGCONF_Target')

---
 meta/lib/oe/sdk.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/sdk.py +1 -1
index ca349c4..c57a4419 100644
@@ -303,7 +303,7 @@ def sdk_list_installed_packages(d, target, format=None, rootfs_dir=None):
         os_var = ["SDK_OS", None][target is True]
         return RpmPkgsList(d, rootfs_dir, arch_var, os_var).list(format)
     elif img_type == "ipk":
-        conf_file_var = ["IPKGCONF_SDK", "IPKGCONF_Target"][target is True]
+        conf_file_var = ["IPKGCONF_SDK", "IPKGCONF_TARGET"][target is True]
         return OpkgPkgsList(d, rootfs_dir, d.getVar(conf_file_var, True)).list(format)
     elif img_type == "deb":
         return DpkgPkgsList(d, rootfs_dir).list(format)
Signature · 1 line
1.9.1