diff mbox series

meta/conf/fragments/yocto/rm-work.conf: add fragment

Message ID 20261127152712.3705004-1-daiane.angolini@oss.qualcomm.com
State New
Headers show
Series meta/conf/fragments/yocto/rm-work.conf: add fragment | expand

Commit Message

Daiane Angolini Nov. 27, 2026, 3:27 p.m. UTC
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 mbox series

Patch

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"