All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 0/4] SDK buildhistory fixes (cover letter only)
Date: Wed, 19 Mar 2014 12:56:04 +0200	[thread overview]
Message-ID: <cover.1395226050.git.laurentiu.palcu@intel.com> (raw)
In-Reply-To: <cover.1395142153.git.laurentiu.palcu@intel.com>

v2:
 * I passed deploy_dir instead of target_rootfs to RpmPkgsList constructor...
   Strangely enough, this could be caught only when building core-image-minimal
   (which I didn't use in my tests).

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

laurentiu

The following changes since commit 0150bc30d3674301631c2e9b6c64e01058fd1070:

  bitbake: runqueue: Really fix sigchld handling (2014-03-18 23:05:53 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib lpalcu/buildhistory_sdk_dep_files_fix
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/buildhistory_sdk_dep_files_fix

Laurentiu Palcu (4):
  package_manager.py: create separate class for installed packages
    listing
  rootfs.py, sdk.py: adjust/create the wrappers for creating installed
    packages list
  image.bbclass, license.bbclass: adjust the name of
    list_installed_packages()
  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(-)

-- 
1.7.9.5



      parent reply	other threads:[~2014-03-19 10:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18 11:38 [PATCH 0/4] SDK buildhistory fixes Laurentiu Palcu
2014-03-18 11:38 ` [PATCH 1/4] package_manager.py: create separate class for installed packages listing Laurentiu Palcu
2014-03-18 11:38 ` [PATCH 2/4] rootfs.py, sdk.py: adjust/create the wrappers for creating installed packages list Laurentiu Palcu
2014-03-18 11:38 ` [PATCH 3/4] image.bbclass, license.bbclass: adjust the name of list_installed_packages() Laurentiu Palcu
2014-03-18 11:38 ` [PATCH 4/4] buildhistory.bbclass: create proper dependency files for SDK Laurentiu Palcu
2014-03-19 10:56 ` Laurentiu Palcu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1395226050.git.laurentiu.palcu@intel.com \
    --to=laurentiu.palcu@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.