Bug 15824 - rm_work and populate_sdk
Summary: rm_work and populate_sdk
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.1
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-04-08 06:19 UTC by Sean Nyekjaer
Modified: 2026-04-15 19:15 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Nyekjaer 2025-04-08 06:19:41 UTC
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't look like it'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/
Comment 1 Antonin Godard 2025-04-10 14:19:36 UTC
[0] was forgotten to be included:

  addtask do_populate_sdk_and_rmwork after do_populate_sdk
  do_populate_sdk_and_rmwork[recrdeptask] = "do_rm_work"

From https://lists.openembedded.org/g/openembedded-core/message/214401.
Comment 2 Randy MacLeod 2026-04-15 19:15:02 UTC
This looks like a nice simple bug fix / enhancement for 6.1.