mbox series

[0/2] rm_work: remove work directories for do_populate_sdk

Message ID 20261127124657.769093-1-sean@geanix.com
Headers show
Series rm_work: remove work directories for do_populate_sdk | expand

Message

Sean Nyekjaer Nov. 27, 2026, 12:46 p.m. UTC
With rm_work enabled, "bitbake <image> -c populate_sdk" leaves the work
directories of all recipes the SDK depends on behind, as do_rm_work_all
only runs before do_build. Patch 1 fixes this, patch 2 documents the new
task.

Before this series:
% du -csh sstate-cache tmp
16G     sstate-cache
129G    tmp
144G    total

After this series:
% du -csh sstate-cache tmp
16G     sstate-cache
31G     tmp
47G     total

[YOCTO #15824]

Sean Nyekjaer (2):
  rm_work: also remove work directories for do_populate_sdk
  documentation.conf: add do_rm_work_populate_sdk doc

 meta/classes-global/staging.bbclass |  3 +++
 meta/classes/rm_work.bbclass        | 14 ++++++++++++++
 meta/conf/documentation.conf        |  1 +
 meta/lib/oe/sstatesig.py            |  5 +++++
 4 files changed, 23 insertions(+)