Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Sean Nyekjaer <sean@geanix.com>
To: openembedded-core@lists.openembedded.org
Cc: Sean Nyekjaer <sean@geanix.com>
Subject: [PATCH 0/2] rm_work: remove work directories for do_populate_sdk
Date: Fri, 27 Nov 2026 13:46:39 +0100	[thread overview]
Message-ID: <20261127124657.769093-1-sean@geanix.com> (raw)

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(+)

-- 
2.56.0


             reply	other threads:[~2026-11-27 12:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 12:46 Sean Nyekjaer [this message]
2026-11-27 12:46 ` [PATCH 1/2] rm_work: also remove work directories for do_populate_sdk Sean Nyekjaer
2026-11-27 12:46 ` [PATCH 2/2] documentation.conf: add do_rm_work_populate_sdk doc Sean Nyekjaer
2026-12-04 13:35 ` [PATCH 0/2] rm_work: remove work directories for do_populate_sdk Paul Barker
2026-12-04 13:49   ` Sean Nyekjaer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127124657.769093-1-sean@geanix.com \
    --to=sean@geanix.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox