<?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>3061</bug_id>
          
          <creation_ts>2012-09-05 10:18:59 +0000</creation_ts>
          <short_desc>meta-yocto BBPATH modification makes it difficult use Poky with BSP layers</short_desc>
          <delta_ts>2012-09-05 16:45:44 +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>Meta-yocto</product>
          <component>meta-yocto</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>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="tf">tf+bugs.yocto</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</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>24831</commentid>
    <comment_count>0</comment_count>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2012-09-05 10:18:59 +0000</bug_when>
    <thetext>meta-yocto preppends itself to BBPATH; seemingly there is a long standing convention in OE that layers should append to the BBPATH, and it seems to be followed by most layers (including oe-core and meta-intel). Breaking this convention makes it difficult to include meta-yocto with other layers, such as BSP layers, because no layer that follows this convention can override config files contained in meta-yocto.

For example, if meta-yocto and meta-ti are included in a project, the beagleboard.conf that is part of meta-yocto will always be used regardless of the order in which the layers are included.

In the absence of any other provision for prioritization of conf files than the ordering of the BBPATH, it is fairly essential that a convention of some sort is followed and meta-yocto seems to be the odd one out here.

Fixing this requires only a small change in the layer.conf and the Yocto bblayers sample file (plus regeneration of bblayers at the user end).

I would be nice if this could be fixed for the 1.4 release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24836</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-09-05 12:21:17 +0000</bug_when>
    <thetext>Timely as I&apos;m in the middle of some patches which should fix this problem although not the way you&apos;re expecting ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24837</commentid>
    <comment_count>2</comment_count>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2012-09-05 12:45:21 +0000</bug_when>
    <thetext>Excellent, and if fixed in a more robust way than having a &apos;convention&apos;, even better. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24845</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-09-05 16:45:44 +0000</bug_when>
    <thetext>Fixed in: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2000698b17011bbde1c3e5bb01a7d6763316db5a

You can now select the meta-yocto-bsp and meta-yocto distro policy layers separately. The BSP layer now appends to BBPATH so should resolve this issue. I think its reasonable for the distro policy to prepend which it continues to do so.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>