]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory.bbclass: create proper dependency files for SDK
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 18 Mar 2014 11:19:20 +0000 (11:19 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Mar 2014 12:05:30 +0000 (12:05 +0000)
commitc1b1a6eb448aa1548e2ec669a9304b5a25bd8ba5
treed64adf582beed22bf97f857994270e980490f158
parent118a2a44bbe5ed2e9bbd0012970686be454e5d4c
buildhistory.bbclass: create proper dependency files for SDK

The old functions were calling the list_installed_packages() wrapper
function that only listed the packages in an image rootfs. Even for
target/host SDK. Also, a python crash was possible if 'bitbake -c
populate_sdk core-image-*' was called without calling 'bitbake
core-image-*' first. That's because the wrapper was always looking into
the image rootfs...

This commit fixes the problem and calls the right wrapper for image/sdk.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass