All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] meta/conf/fragments/yocto/rm-work.conf: add fragment
@ 2026-11-27 15:27 Daiane Angolini
  2026-12-03 11:33 ` [OE-core] " Mathieu Dubois-Briand
  0 siblings, 1 reply; 3+ messages in thread
From: Daiane Angolini @ 2026-11-27 15:27 UTC (permalink / raw)
  To: openembedded-core; +Cc: Daiane Angolini

Add a fragment to enable rm_work with bitbake-config-build instead of
adding it to INHERIT in the conf/local.conf.

Tested by enabling and disabling the fragment.

AI-Generated: Uses Claude Code
Signed-off-by: Daiane Angolini <daiane.angolini@oss.qualcomm.com>
---
 meta/conf/fragments/yocto/rm-work.conf | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 meta/conf/fragments/yocto/rm-work.conf

diff --git a/meta/conf/fragments/yocto/rm-work.conf b/meta/conf/fragments/yocto/rm-work.conf
new file mode 100644
index 0000000000..068223f643
--- /dev/null
+++ b/meta/conf/fragments/yocto/rm-work.conf
@@ -0,0 +1,6 @@
+BB_CONF_FRAGMENT_SUMMARY = "Remove recipe work directories after the build to save disk space"
+BB_CONF_FRAGMENT_DESCRIPTION = "Remove the work directory of each recipe once its tasks \
+complete, keeping only the logs in temp, to reduce disk usage. Use RM_WORK_EXCLUDE to keep \
+the work directory of recipes you need to inspect or debug."
+
+INHERIT += "rm_work"
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] meta/conf/fragments/yocto/rm-work.conf: add fragment
  2026-11-27 15:27 [PATCH] meta/conf/fragments/yocto/rm-work.conf: add fragment Daiane Angolini
@ 2026-12-03 11:33 ` Mathieu Dubois-Briand
  2026-12-03 14:00   ` Daiane Angolini
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Dubois-Briand @ 2026-12-03 11:33 UTC (permalink / raw)
  To: daiane.angolini, openembedded-core

On Fri Nov 27, 2026 at 4:27 PM CET, Daiane Angolini via openembedded-core wrote:
> Add a fragment to enable rm_work with bitbake-config-build instead of
> adding it to INHERIT in the conf/local.conf.
>
> Tested by enabling and disabling the fragment.
>
> AI-Generated: Uses Claude Code
> Signed-off-by: Daiane Angolini <daiane.angolini@oss.qualcomm.com>

Hi Daiane,

Thanks for your patch.

> --- /dev/null
> +++ b/meta/conf/fragments/yocto/rm-work.conf

We did discuss this during the patch review, and we think it should be
moved to meta/conf/fragments/rm-work.conf, dropping the yocto/ folder,
as this is not Yocto specific.

Can you send a v2 with the file moved?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] meta/conf/fragments/yocto/rm-work.conf: add fragment
  2026-12-03 11:33 ` [OE-core] " Mathieu Dubois-Briand
@ 2026-12-03 14:00   ` Daiane Angolini
  0 siblings, 0 replies; 3+ messages in thread
From: Daiane Angolini @ 2026-12-03 14:00 UTC (permalink / raw)
  To: mathieu.dubois-briand; +Cc: daiane.angolini, openembedded-core

On Thu, Dec 3, 2026 at 8:34 AM Mathieu Dubois-Briand via
openembedded-core
<mathieu.dubois-briand=bootlin.com@lists.openembedded.org> wrote:
>
> On Fri Nov 27, 2026 at 4:27 PM CET, Daiane Angolini via openembedded-core wrote:
> > Add a fragment to enable rm_work with bitbake-config-build instead of
> > adding it to INHERIT in the conf/local.conf.
> >
> > Tested by enabling and disabling the fragment.
> >
> > AI-Generated: Uses Claude Code
> > Signed-off-by: Daiane Angolini <daiane.angolini@oss.qualcomm.com>
>
> Hi Daiane,
>
> Thanks for your patch.
>
> > --- /dev/null
> > +++ b/meta/conf/fragments/yocto/rm-work.conf
>
> We did discuss this during the patch review, and we think it should be
> moved to meta/conf/fragments/rm-work.conf, dropping the yocto/ folder,
> as this is not Yocto specific.
>
> Can you send a v2 with the file moved?

Thanks for the explanation. I will send the v2 asap, but it might take
some time.

This is the first fragment I'm sending from a list of fragments I wish
had existed when we were writing the yocto book. So this is also a way
to understand what the community wants from these fragments. I will
send this v2 and prepare the next patch fragment on my list.

BR,
Daiane

>
> Thanks,
> Mathieu
>
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#251886): https://lists.openembedded.org/g/openembedded-core/message/251886
> Mute This Topic: https://lists.openembedded.org/mt/122474753/5992125
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [daiane.angolini@foundries.io]
> -=-=-=-=-=-=-=-=-=-=-=-
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-03 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 15:27 [PATCH] meta/conf/fragments/yocto/rm-work.conf: add fragment Daiane Angolini
2026-12-03 11:33 ` [OE-core] " Mathieu Dubois-Briand
2026-12-03 14:00   ` Daiane Angolini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.