<?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>7837</bug_id>
          
          <creation_ts>2015-06-01 21:56:46 +0000</creation_ts>
          <short_desc>site.conf not acting as implied by docs.</short_desc>
          <delta_ts>2016-05-19 14:41:51 +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>OE-Core</product>
          <component>configuration</component>
          <version>unspecified</version>
          <rep_platform>All</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>normal</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51403</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2015-06-01 21:56:46 +0000</bug_when>
    <thetext>In section 3.1, the docs imply that I can make a site.conf file to configure multiple builds simultaneously.  It also indicates that I can &quot;extend your BBPATH variable to include the path to a conf/site.conf. Then, when BitBake looks for Metadata using BBPATH, it finds the conf/site.conf file and applies your common configurations found in the file.&quot;

But, the default bblayers.conf does a BBPATH = &quot;${TOPDIR}&quot; which means that any BBPATH env settings I have are wiped out. Having to append the bbpath in each bblayers.conf file seems to somewhat obviate the advantages of a site.conf file. 

For my curent usage model, changing the default bblayers.conf to do BBPATH .= &quot;:${TOPDIR}&quot; works, but it breaks sanity check if you don&apos;t have BBPATH in your env since you end up with an empty :: which is the same as having a &quot;.&quot; in BBPATH.

Initial ideas on how to address:
1) use BBPATH .= &quot;:${TOPDIR}&quot; in bblayers.conf and then strip out any :: in bbpath.
2) add an additional var BBPATH_SITE to list sitewide places to search</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61215</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-04-14 14:40:40 +0000</bug_when>
    <thetext>*** Bug 9422 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62321</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-05-19 14:41:51 +0000</bug_when>
    <thetext>Fixed in oe-core a3d223284854a21c84e8f6d075d23b32789afa01</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>