<?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>10356</bug_id>
          
          <creation_ts>2016-09-30 20:16:51 +0000</creation_ts>
          <short_desc>Suggested addition to explain how the recipe cache works</short_desc>
          <delta_ts>2016-10-03 19:32:19 +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>2.2</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>03 Oct 2016: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulfalizer</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66775</commentid>
    <comment_count>0</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-09-30 20:16:51 +0000</bug_when>
    <thetext>This was another dark corner for me. At a high level, it doesn&apos;t seem to be too
bad.

I suggest replacing &apos;6.2.9. build/tmp/cache/&apos; with the following:

  When BitBake parses the metadata (recipes and configuration files), it caches
  the results in build/tmp/cache/ to speed up future builds. The results are
  stored on a per-machine basis.
  
  During subsequent builds, BitBake checks each recipe (together with, for
  example, any files included or appended to it) to see if it has been modified.
  Changes can be detected, for example, through mtime changes and hashing of
  file contents. If no changes to the file are detected, then the parsed result
  stored in the cache is reused. If the file has changed, it is reparsed.


Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66817</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-10-03 17:04:17 +0000</bug_when>
    <thetext>Ulf, 

See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#structure-build-tmp-cache.  Let me know.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66828</commentid>
    <comment_count>2</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-10-03 18:12:35 +0000</bug_when>
    <thetext>Looks good!

Thanks,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66835</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-10-03 19:32:19 +0000</bug_when>
    <thetext>Thanks, 

Setting to RESOLVED and putting the doc flag to &quot;done.&quot;

scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>