Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/2] Add image creation dependency mechanism
Date: Tue, 18 Feb 2014 15:49:42 +0200	[thread overview]
Message-ID: <cover.1392731055.git.laurentiu.palcu@intel.com> (raw)

The image creation is done now in parallel. However, we didn't have any
dependency handling in place since the old code did that serial. This patchset
adds such dependency mechanism and all images types are split in groups,
according to dependency, which can be done in parallel.

The users, however, have to declare the image dependency using the IMAGE_TYPEDEP variable:

Example:
IMAGE_TYPEDEP_rpi-sdimg = "ext3"

laurentiu

The following changes since commit 54562006c1327c5b99daa4cc05a3ba7e38412da1:

  image_types.bbclass: Fix tar IMAGE_CMD to not change directories (2014-02-18 08:38:52 +0000)

are available in the git repository at:

  git://mirror.rb.intel.com/git.yoctoproject.org/poky-contrib lpalcu/image_deps_fix

for you to fetch changes up to e7feddd1dafc5eb02b80b8d43aca504b17151e5c:

  lib/oe/image.py: add image dependency mechanism (2014-02-18 15:16:21 +0200)

----------------------------------------------------------------
Laurentiu Palcu (2):
      image*.bbclass, bootimg.bbclass: add image type dependencies
      lib/oe/image.py: add image dependency mechanism

 meta/classes/bootimg.bbclass     |    4 +
 meta/classes/image-live.bbclass  |    3 +
 meta/classes/image-vmdk.bbclass  |    3 +
 meta/classes/image_types.bbclass |    5 +
 meta/lib/oe/image.py             |  282 ++++++++++++++++++++++++++------------
 5 files changed, 206 insertions(+), 91 deletions(-)

Laurentiu Palcu (2):
  image*.bbclass, bootimg.bbclass: add image type dependencies
  lib/oe/image.py: add image dependency mechanism

 meta/classes/bootimg.bbclass     |    4 +
 meta/classes/image-live.bbclass  |    3 +
 meta/classes/image-vmdk.bbclass  |    3 +
 meta/classes/image_types.bbclass |    5 +
 meta/lib/oe/image.py             |  282 ++++++++++++++++++++++++++------------
 5 files changed, 206 insertions(+), 91 deletions(-)

-- 
1.7.9.5



             reply	other threads:[~2014-02-18 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18 13:49 Laurentiu Palcu [this message]
2014-02-18 13:49 ` [PATCH 1/2] image*.bbclass, bootimg.bbclass: add image type dependencies Laurentiu Palcu
2014-02-18 13:49 ` [PATCH 2/2] lib/oe/image.py: add image dependency mechanism Laurentiu Palcu

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.1392731055.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox