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

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.