<?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>531</bug_id>
          
          <creation_ts>2010-11-10 13:52:35 +0000</creation_ts>
          <short_desc>&apos;rm_work&apos; is run much later than expected, when INHERIT&apos;ed</short_desc>
          <delta_ts>2014-07-22 15:44:39 +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>core</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</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>1.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tom Rini">tom.rini</reporter>
          <assigned_to name="Dongxiao Xu">dongxiao.xu</assigned_to>
          <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>10871</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Rini">tom.rini</who>
    <bug_when>2010-11-10 13:52:35 +0000</bug_when>
    <thetext>When I&apos;ve used the rm_work class in OpenEmbedded, it will run the rm_work task &quot;in the middle&quot; of the build.  Which is to say, I can count on rm_work cleaning up more room for me to build on while I&apos;m building and not run out of disk space in limited space environments.  With poky 0.9 it seems that rm_work isn&apos;t started for anything until all other tasks are run for all other recipes.  This means that I only reclaim space at the end of the build and have run out of disk in the middle of a build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10879</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-11-11 02:47:38 +0000</bug_when>
    <thetext>The problem appears to be that OE uses the completion scheduler in rm_work.bbclass and Poky doesn&apos;t have this. We should add those lines of code (I think I wrote the OE version!).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10957</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-11-29 04:05:31 +0000</bug_when>
    <thetext>Fixed in http://git.pokylinux.org/cgit.cgi/poky/commit/?id=8a391c3d719d14390a6eee20f2f0cf3c37d27aa8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44624</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Rini">tom.rini</who>
    <bug_when>2014-07-22 15:44:39 +0000</bug_when>
    <thetext>Close this out...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>