diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-10-10 16:25:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-10 10:44:05 +0100 |
commit | 81b3cc448f040dcb4c2f2b05983231ac53270663 (patch) | |
tree | d6f080abc1b2eec8e263124136f08fd203035607 /meta/lib/oe | |
parent | e336102e59dbbd01fe67121738203563476f9456 (diff) | |
download | openembedded-core-81b3cc448f040dcb4c2f2b05983231ac53270663.tar.gz openembedded-core-81b3cc448f040dcb4c2f2b05983231ac53270663.tar.bz2 openembedded-core-81b3cc448f040dcb4c2f2b05983231ac53270663.zip |
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')
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/sdk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index ca349c433c..c57a441941 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py @@ -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) |