<?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>2219</bug_id>
          
          <creation_ts>2012-04-01 02:45:44 +0000</creation_ts>
          <short_desc>[yocto-kernel] fail to find bblayers if TOPDIR is not &quot;build&quot;</short_desc>
          <delta_ts>2012-05-08 15:48:29 +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>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>dvhart</cc>
    
    <cc>hongnax.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>scott.a.garman</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>19762</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-04-01 02:45:44 +0000</bug_when>
    <thetext>tree/branch: poky/1.2 M4
commit: da6233ea034f35eff59306fdad31f318c340c359

With 1.2 M4, when I test Hob, I find that yocto-kernel could not find bblayers if the TOPDIR is not &quot;./build&quot;. It&apos;s hardcode in scripts/lib/bsp/kernel.py with following code:

#######
def find_bblayers(scripts_path):
    &quot;&quot;&quot;
    Find and return a sanitized list of the layers found in BBLAYERS.
    &quot;&quot;&quot;
    bblayers_conf = os.path.join(scripts_path, &quot;../build/conf/bblayers.conf&quot;)

    layers = []

    f = open(bblayers_conf, &quot;r&quot;)
    lines = f.readlines()
    bblayers_lines = []
#######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20894</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-04-26 23:14:33 +0000</bug_when>
    <thetext>Tom has the patch been applied? please update</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20911</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-04-28 00:06:29 +0000</bug_when>
    <thetext>This does not have the workaround I thought it did. After having read the patch, I&apos;m going to propose this be pulled in for 1.2.1. Changing the target now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20966</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-05-01 20:52:07 +0000</bug_when>
    <thetext>The patch to fix this is available as:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=tzanussi/yocto-bsp-fixes-2219-2330&amp;id=3cea3e5b38f503cb2ac22bedf88e1ba14391c2ab</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21146</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-05-07 20:28:19 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c0d92e51a1603e31eb31c5c6201e3ecbef81bd61</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21195</commentid>
    <comment_count>5</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-05-08 15:48:29 +0000</bug_when>
    <thetext>Verify the bug as fixed with commit b1867950831ab6edb00b819f4cde81d40007f22e.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>