[0/4] SDK buildhistory fixes

Submitted by Laurentiu Palcu on March 18, 2014, 11:38 a.m. | Patch ID: 68811


Message ID cover.1395142153.git.laurentiu.palcu@intel.com
State New
Headers show


git://git.yoctoproject.org/poky-contrib lpalcu/buildhistory_sdk_dep_files_fix

Commit Message

Laurentiu Palcu March 18, 2014, 11:38 a.m.
The buildhistory dependency files for target/host SDK packages were not properly
created because the wrapper function called, list_installed_packages(), was always
looking in the image rootfs.

This patchset will rename the old wrapper function to image_list_installed_packages()
and create a new one, for SDK stuff, sdk_list_installed_packages().

The changes in package_manager.py, even though they appear to be lots, its the
same code moved around from one class to a newly created PkgsList class. So, the
logic remains the same.

Tested for all backends (buildhistory activated) with the following:

bitbake core-image-sato && bitbake -c populate_sdk core-image-sato


The following changes since commit 6bbb179cc526c86631dfcb140e3dd51a8c07a52d:

  bitbake: runqueue: More carefully handle the sigchld handler (2014-03-18 10:23:13 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib lpalcu/buildhistory_sdk_dep_files_fix

Laurentiu Palcu (4):
  package_manager.py: create separate class for installed packages
  rootfs.py, sdk.py: adjust/create the wrappers for creating installed
    packages list
  image.bbclass, license.bbclass: adjust the name of
  buildhistory.bbclass: create proper dependency files for SDK

 meta/classes/buildhistory.bbclass |   40 ++--
 meta/classes/image.bbclass        |    4 +-
 meta/classes/license.bbclass      |    4 +-
 meta/lib/oe/package_manager.py    |  376 +++++++++++++++++++++----------------
 meta/lib/oe/rootfs.py             |   19 +-
 meta/lib/oe/sdk.py                |   18 ++
 6 files changed, 264 insertions(+), 197 deletions(-)