<?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>8876</bug_id>
          
          <creation_ts>2016-01-05 23:24:17 +0000</creation_ts>
          <short_desc>Allow limiting to restoring from sstate only</short_desc>
          <delta_ts>2016-02-18 16:08:37 +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>BitBake</product>
          <component>bitbake</component>
          <version>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <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>57548</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-01-05 23:24:17 +0000</bug_when>
    <thetext>Add an option to tell bitbake to restore from sstate only within a build (i.e. execute no real tasks, only setscene). The immediate use case for this is within the build system preparation stage, which shouldn&apos;t do any real work.

It would be great if when this option was used, bitbake could also list the real tasks that would have needed to execute otherwise, which we can then check to see if it contains any unexpected tasks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57699</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-01-09 18:33:46 +0000</bug_when>
    <thetext>Patches out for review which allow the execution of setscene tasks only. That patch in itself is simple enough but adding a list of which later tasks would run would be hard. For that I&apos;d suggest a follow up with a &quot;dry-run&quot; command which should be able to give that information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58382</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-02-01 11:21:52 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=46731daa5f74a61dc6c48d9109b4ad4efb835705</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59102</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2016-02-16 14:10:54 +0000</bug_when>
    <thetext>Verified on master: da13f0bce5d1b3c52f5716ae8d104372a820e5f9

Steps:
1. $ bitbake &lt;recipe&gt;
2. $ bitbake &lt;recipe&gt; -c clean
3. $ bitbake &lt;recipe&gt; --setscene-only --&gt; Only setscene task are run</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59106</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2016-02-16 15:07:42 +0000</bug_when>
    <thetext>Created oe-selftest for this. Patch sent to ML:
http://lists.openembedded.org/pipermail/openembedded-core/2016-February/117608.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59215</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2016-02-18 16:08:37 +0000</bug_when>
    <thetext>oe-selftest test merged into master: 4e5e501155a21fe64a470c626b3afe6d9748308e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>