Patchwork [0/2] Add image creation dependency mechanism

login
register
mail settings
Submitter Laurentiu Palcu
Date Feb. 18, 2014, 1:49 p.m.
Message ID <cover.1392731055.git.laurentiu.palcu@intel.com>
Download mbox
Permalink /patch/66921/
State New
Headers show

Pull-request

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

Comments

Laurentiu Palcu - Feb. 18, 2014, 1:49 p.m.
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(-)