<?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>4981</bug_id>
          
          <creation_ts>2013-08-05 09:28:31 +0000</creation_ts>
          <short_desc>Add COREBASE to variable reference</short_desc>
          <delta_ts>2013-10-01 13:45:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</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>http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=a3623887a3cfd3df47a09b8fd337a2741b5aaa42</bug_file_loc>
          <status_whiteboard>13 August 2013: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Papp">lpapp</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35359</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-08-05 09:28:31 +0000</bug_when>
    <thetext>Based on 4980, this is a separate report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35362</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-08-05 09:33:54 +0000</bug_when>
    <thetext>If you&apos;re going to fork bugs, please also copy the relevant information.

&quot;COREBASE: the location of the meta/ directory from oe-core.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35366</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-08-05 09:45:19 +0000</bug_when>
    <thetext>Clarification: COREBASE is the directory that *contains* meta/.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35369</commentid>
    <comment_count>3</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-08-05 09:48:14 +0000</bug_when>
    <thetext>In that case, it is the same as requested in 4980 unless there is any other trick involved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35370</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-08-05 09:50:39 +0000</bug_when>
    <thetext>It&apos;s polite to not force anyone to have to jump around bugs to find the information they&apos;re after.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35371</commentid>
    <comment_count>5</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-08-05 09:53:45 +0000</bug_when>
    <thetext>No no, I mean COREBASE already covers the use case of 4980 as it would return the poky root.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35373</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-08-05 09:58:40 +0000</bug_when>
    <thetext>Right, agreed.  I was just writing a comment there with examples.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35375</commentid>
    <comment_count>7</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-08-05 10:03:30 +0000</bug_when>
    <thetext>Whoever writes the documentation, please make sure it cannot be misunderstood. It is _not_ the oe-core meta layer, but the parent of it, i.e. in case of poky, it is the poky root.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35376</commentid>
    <comment_count>8</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-08-05 10:06:38 +0000</bug_when>
    <thetext>Incorrect.

meta/conf/layer.conf:COREBASE = &apos;${@os.path.normpath(&quot;${LAYERDIR}/../&quot;)}&apos;

It is explicitly the parent of the meta directory, and saying &quot;the Poky root&quot; makes no sense in Yocto builds that don&apos;t use Poky, and is wrong in situations where layers are not at the top level.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35378</commentid>
    <comment_count>9</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-08-05 10:10:00 +0000</bug_when>
    <thetext>Actually, your code just confirms me correct. Please read it carefully again, and compare to what I wrote.

As for the poky, it is an example to understand it with a real-world scenario, so it definitely makes sense to mention in here to help with the understanding of the documentation writer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35379</commentid>
    <comment_count>10</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-08-05 10:11:46 +0000</bug_when>
    <thetext>Sorry, mis-read.  Yes, you&apos;re agreeing with my comment 2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35382</commentid>
    <comment_count>11</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-08-05 12:12:20 +0000</bug_when>
    <thetext>Here is a draft of the variable entry for COREBASE:

http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-COREBASE

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35383</commentid>
    <comment_count>12</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-08-05 12:13:34 +0000</bug_when>
    <thetext>I like it, thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35384</commentid>
    <comment_count>13</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-08-05 12:18:01 +0000</bug_when>
    <thetext>Thanks Laszlo for raising the issue.  I will close this tomorrow after it sits a bit in this state. 

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35603</commentid>
    <comment_count>14</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-08-13 06:03:22 +0000</bug_when>
    <thetext>No additional feedback.. closing the bug. 

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37405</commentid>
    <comment_count>15</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-10-01 13:45:29 +0000</bug_when>
    <thetext>COREBASE variable description was added to the Yocto reference manual.

Setting to VERIFIED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>