From: "Paul Barker" <paul@pbarker.dev>
To: "Sean Nyekjaer" <sean@geanix.com>,
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 0/2] rm_work: remove work directories for do_populate_sdk
Date: Fri, 04 Dec 2026 13:35:03 +0000 [thread overview]
Message-ID: <DNBZKJXOGF60.CX6AUK6Y1PFK@pbarker.dev> (raw)
In-Reply-To: <20261127124657.769093-1-sean@geanix.com>
On Fri Nov 27, 2026 at 12:46 PM GMT, Sean Nyekjaer wrote:
> 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(+)
Hi Sean,
We discussed these patches during the patch review call yesterday. We
don't want to add more special cases for do_populate_sdk, and even if we
do so there would be other tasks which need this handling - including
some defined outside OE-Core which we can't fix in this way.
Instead we plan to re-implement the way rm_work is triggered to fix this
and other edge cases. This has been planned for a while, we wanted to
get the layer changes completed and merged first. We'd prefer to leave
things as-is for now until those changes are made.
Hope that makes sense.
Best regards,
--
Paul Barker
next prev parent reply other threads:[~2026-12-04 13:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 12:46 [PATCH 0/2] rm_work: remove work directories for do_populate_sdk Sean Nyekjaer
2026-11-27 12:46 ` [PATCH 1/2] rm_work: also " 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 ` Paul Barker [this message]
2026-12-04 13:49 ` [PATCH 0/2] rm_work: remove work directories for do_populate_sdk 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=DNBZKJXOGF60.CX6AUK6Y1PFK@pbarker.dev \
--to=paul@pbarker.dev \
--cc=openembedded-core@lists.openembedded.org \
--cc=sean@geanix.com \
/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