<?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>11110</bug_id>
          
          <creation_ts>2017-02-27 20:15:21 +0000</creation_ts>
          <short_desc>TOPDIR, DEPLOY_DIR aren&apos;t in BB_HASHBASE_WHITELIST</short_desc>
          <delta_ts>2017-03-31 09:18:26 +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>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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="George McCollister">george.mccollister</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          
          
          
          <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>70967</commentid>
    <comment_count>0</comment_count>
    <who name="George McCollister">george.mccollister</who>
    <bug_when>2017-02-27 20:15:21 +0000</bug_when>
    <thetext>Setting DEPLOY_DIR = &quot;${TOPDIR}/deploy&quot; will make sstate-cache mostly unusable between builds in different directories since neither DEPLOY_DIR or TOPDIR are in BB_HASHBASE_WHITELIST.

Unless there is a reason not to, I suggest adding DEPLOY_DIR and TOPDIR to BB_HASHBASE_WHITELIST.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71897</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-03-30 08:45:56 +0000</bug_when>
    <thetext>I gave this some thought and I think there is a good reason not to add TOPDIR.  The problem is that if TOPDIR moves and these variables are in BB_HASHBASE_WHITELIST, they&apos;re also in BB_HASHCONFIG_WHITELIST and therefore the system wouldn&apos;t even reparse. That would lead to really nasty errors and is clearly something we want to avoid.

Adding DEPLOY_DIR on the other hand should be safe enough so I&apos;ll propose a patch for that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71947</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-03-31 09:18:26 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8babb56c92fa1064e86e944b3947e6e1babe10b2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>