diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-03-28 12:27:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-28 11:01:39 +0000 |
commit | 85c3238ee713bc27e99a2e393e3bf8438ed4d91f (patch) | |
tree | 09fc12ab291caab76ec9478acd551119549eccfe /meta/classes | |
parent | 6151d69875f3f4f097b6e2fdef2a0f3ab391e2fd (diff) | |
download | openembedded-core-85c3238ee713bc27e99a2e393e3bf8438ed4d91f.tar.gz openembedded-core-85c3238ee713bc27e99a2e393e3bf8438ed4d91f.tar.bz2 openembedded-core-85c3238ee713bc27e99a2e393e3bf8438ed4d91f.zip |
populate_sdk_base: add dependency of do_package_write_* tasks
nativesdk packages were created only for the first backend listed in
PACKAGE_CLASSES. Hence, if one had it set to "package_rpm package_ipk"
and did a 'bitbake -c populate_sdk core-image-something', the nativesdk
packages were created only for rpm.
This is particularily bad for adt-installer which is based on opkg
repos.
Credits go to richard.purdie@linuxfoundation.org who suggested me this
fix.
[YOCTO #5900]
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 235d67298c..81da206571 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass @@ -333,5 +333,5 @@ populate_sdk_log_check() { do_populate_sdk[dirs] = "${TOPDIR}" do_populate_sdk[depends] += "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_DEPENDS', True).split()])}" do_populate_sdk[rdepends] = "${@' '.join([x + ':do_populate_sysroot' for x in d.getVar('SDK_RDEPENDS', True).split()])}" -do_populate_sdk[recrdeptask] += "do_packagedata" +do_populate_sdk[recrdeptask] += "do_packagedata do_package_write_rpm do_package_write_ipk do_package_write_deb" addtask populate_sdk |