<?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>8211</bug_id>
          
          <creation_ts>2015-08-26 19:30:18 +0000</creation_ts>
          <short_desc>toaster is searching for toasterconf.json in unacceptable places.</short_desc>
          <delta_ts>2016-04-25 17:51:11 +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>Toaster</product>
          <component>toaster</component>
          <version>2.0</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>minor</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="brian avery">brian.avery</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>philip</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Libertad">libertad.gonzalez.de.la.cruz</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>53441</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2015-08-26 19:30:18 +0000</bug_when>
    <thetext>Toaster is searching outside of the git tree for the configuration file.
To reproduce:
~/cow/poky1 
~/cow/poky-contrib

This is where we run toaster:
~/cow/toaster-run/
TOASTER_MANAGED=1 TOASTER_DEVEL=1  ../poky/bitbake/bin/toaster

We get:
Toaster will list now the configuration files that it found. Select the number to use the desired configuration file.
  [1] /home/bavery/cow/poky1/meta-yocto/conf/toasterconf.json
  [2] /home/bavery/cow/poky-contrib/meta-yocto/conf/toasterconf.json

  [0] - Exit without importing any file

The problem:
Toaster shouldn&apos;t be searching nearby directories for the configuration file especially since the other directory could be a checkout/branch of anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61012</commentid>
    <comment_count>1</comment_count>
    <who name="Phlip Balister">philip</who>
    <bug_when>2016-04-11 14:39:42 +0000</bug_when>
    <thetext>I use a setup with bitbake and oe-core checked out at the same level, I just want to mention that toaster cannot assume that is is running with poky.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61047</commentid>
    <comment_count>2</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-04-11 21:01:43 +0000</bug_when>
    <thetext>This patch (now in master) should fix that issue, at least. 
http://lists.openembedded.org/pipermail/openembedded-core/2016-April/119997.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61620</commentid>
    <comment_count>3</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-04-25 14:42:03 +0000</bug_when>
    <thetext>According to Michael Wood, this is probably fixs, &quot;as you can now specify TOASTER_CONF&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61652</commentid>
    <comment_count>4</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-04-25 17:51:11 +0000</bug_when>
    <thetext>And we now use TEMPLATECONF to determine the correct conf directory from which to load the file. This is the same mechanism that oe-init-build-env uses.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>