<?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>11500</bug_id>
          
          <creation_ts>2017-05-11 13:48:22 +0000</creation_ts>
          <short_desc>Verify sstatebuilds with different build directory</short_desc>
          <delta_ts>2017-06-07 14:14:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>brian.avery</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>pidge</cc>
          
          
          <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>73186</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-05-11 13:48:22 +0000</bug_when>
    <thetext>We need a build (maybe under the qa buildset) that basically does this:

$ . oe-init-build-env build1
$ bitbake core-image-sato
$ cd .. ; rm build1
$ . oe-init-build-env build2
$ bitbake core-image-sato

Build2 should reuse all of the sstate from build1, but as build1 doesn&apos;t exist anymore any references to it in sstate will fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73196</commentid>
    <comment_count>1</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-05-11 15:00:15 +0000</bug_when>
    <thetext>may also want to source oe-init-build-env  from outside the poky dir. For example refkit has a current bug where the in dir sourcing works bit sourceing the init script from say /cow, does not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73799</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-06-07 14:14:34 +0000</bug_when>
    <thetext>nightly-qa-extras now includes extra steps to:
* build core-image-sato
* generate a locked-sigs.inc
* delete the contents of tmp
* generate a new auto.conf with a different TMPDIR value and the locked-sigs file included
* builds core-image-sato

http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=5d80b30d55c134aeca63643b4ef3611a1845c6d1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>