<?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>7590</bug_id>
          
          <creation_ts>2015-04-09 14:06:27 +0000</creation_ts>
          <short_desc>Avoid running do_rootfs within extensible SDK installation</short_desc>
          <delta_ts>2015-10-22 10:30:47 +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>devtools / tool chain</component>
          <version>1.8</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.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Costin">costin.c.constantin</qa_contact>
          <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>50175</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-04-09 14:06:27 +0000</bug_when>
    <thetext>The extensible SDK installation process (defined in populate_sdk_ext.bbclass) by default runs bitbake in order to install the sstate cache to the point where you can assemble an image, however at the moment it actually runs do_rootfs which is completely unnecessary. Probably the easiest way to fix this would be to stub out do_rootfs making it a no-op (e.g. by inheriting a class that does this just for this run).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54568</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-09-23 16:36:31 +0000</bug_when>
    <thetext>Changing state to Accepted as I can&apos;t see the patch.  Chen, if you did send this, can you ping it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54584</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2015-09-24 02:27:42 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Changing state to Accepted as I can&apos;t see the patch.  Chen, if you did send
&gt; this, can you ping it?

I sent one. But it&apos;s not correct and I&apos;ll rework on this bug.
Thank you for reminding me about this.

Regards,
Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55226</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-10-13 07:27:21 +0000</bug_when>
    <thetext>FYI I&apos;ve made a fix for this and am testing it now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55499</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-10-20 13:40:18 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9a81ba764c31ae8e5af08c2bd672b2fbca46d497</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55594</commentid>
    <comment_count>5</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2015-10-22 10:30:47 +0000</bug_when>
    <thetext>Hello,

Tested with latest commit: 505a82673ac2487df5ea343a6422c2fc47018831 on an Ubuntu machine.
Steps performed:
1) ensure having a clean environment (i removed tmp dir)
2) prepare SDK:
bitbake core-image-minimal -c populate_sdk
3) search for any do_rootfs in cooker log:
~/2poky/build/tmp/log/cooker/genericx86$ ls
20151022083315.log
~/2poky/build/tmp/log/cooker/genericx86$ grep rootfs 20151022083315.log

Marking as verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>