<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>790</bug_id>
          
          <creation_ts>2011-03-02 08:24:54 +0000</creation_ts>
          <short_desc>Layer dependency support</short_desc>
          <delta_ts>2011-07-08 15:46:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Other YP Layers</product>
          <component>layers</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Dahan">jonathan</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>josh</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12215</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Dahan">jonathan</who>
    <bug_when>2011-03-02 08:24:54 +0000</bug_when>
    <thetext>It would be useful to have one BSP layer depend on N other layers, probably set in layer.conf .

It seems WR&apos;s build system already had layer information, but it did not guarantee ordering. It does guarantee all the necessary layers are available on the local machine, which is a good start.

BSP layers already include priority information, so it shouldn&apos;t be too much of a stretch to have implicit priority set by the BSP layer dependency resolver.

This would allow foo-1.23::meta-bar to have priority over foo-1.24::meta-baz if meta-bar depends on meta-baz. This behavior should be overridable but I do believe it encourages de-duplication of effort.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13533</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-05-02 21:06:05 +0000</bug_when>
    <thetext>I wonder how much extra work it would be to enable dependencies on single recipes, or sets of recipes, from a layer. I think this would be really useful (I want my layer to use a couple of recipes from meta-openembedded but not have to parse every recipe in there).

I guess this should be reasonably easy using similar notation to BBFILE_PATTERN</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14562</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-07-06 08:11:21 +0000</bug_when>
    <thetext>I&apos;ve now implemented layer dependencies, and the patch has now been merged into bitbake/poky. You can set a layer to be dependent on another, with optional versioning. The priority can be set manually as previously, or left unset and dependencies will be used to work out the appropriate priority value.

See here for further details:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3bf2d2103e4b600b01ef99dca7ba1a47bd4438f1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14651</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-07-08 15:46:47 +0000</bug_when>
    <thetext>See commit meesage above</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>