<?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>15824</bug_id>
          
          <creation_ts>2025-04-08 06:19:41 +0000</creation_ts>
          <short_desc>rm_work and populate_sdk</short_desc>
          <delta_ts>2026-04-15 19:15:02 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sean Nyekjaer">sean</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>antonin.godard</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>yoann.congal</cc>
    
    <cc>zhangle.yang</cc>
          
          
          <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>101582</commentid>
    <comment_count>0</comment_count>
    <who name="Sean Nyekjaer">sean</who>
    <bug_when>2025-04-08 06:19:41 +0000</bug_when>
    <thetext>When rm_work is enabled and when building an image it works as I would
expect.
But when running populate_sdk for that image, it doesn&apos;t look like it&apos;s
running the rm_work task and the disk usage increases.

I have tried adding [0] to my image recipe, and it makes a significant
difference in disk usage.

Some numbers for reference::
With sstate and without [0]:
26G     build/
With sstate and with [0]:
18G     build/
Without sstate and without [0]:
120G    build/
Without sstate and with [0]:
29G     build/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101606</commentid>
    <comment_count>1</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2025-04-10 14:19:36 +0000</bug_when>
    <thetext>[0] was forgotten to be included:

  addtask do_populate_sdk_and_rmwork after do_populate_sdk
  do_populate_sdk_and_rmwork[recrdeptask] = &quot;do_rm_work&quot;

From https://lists.openembedded.org/g/openembedded-core/message/214401.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105083</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-04-15 19:15:02 +0000</bug_when>
    <thetext>This looks like a nice simple bug fix / enhancement for 6.1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>