[1/1] populate_sdk_base: add dependency of do_package_write_* tasks

Submitted by Laurentiu Palcu on March 28, 2014, 10:27 a.m.


Message ID 0dd4dd0271b5db6e01e2b418c4b2ba116759fbbf.1396002362.git.laurentiu.palcu@intel.com
State Accepted
Commit 85c3238ee713bc27e99a2e393e3bf8438ed4d91f
Headers show

Commit Message

Laurentiu Palcu March 28, 2014, 10:27 a.m.
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

Credits go to richard.purdie@linuxfoundation.org who suggested me this

[YOCTO #5900]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
 meta/classes/populate_sdk_base.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 235d672..81da206 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