summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2013-05-07 06:09:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-21 00:12:21 +0100
commitb3e2e405c53d63bc71872d41f455507be833e7eb (patch)
treeb0e0dfda592c36a98a141433d03b4511a13f0469 /meta/conf
parentae28ee3f7a060b9e0d13154a84f2444a98490b5b (diff)
downloadopenembedded-core-b3e2e405c53d63bc71872d41f455507be833e7eb.tar.gz
openembedded-core-b3e2e405c53d63bc71872d41f455507be833e7eb.tar.bz2
openembedded-core-b3e2e405c53d63bc71872d41f455507be833e7eb.zip
image_types.bbclass: remove the old images
Remove the old image before the new one generated to save disk space when RM_OLD_IMAGE is set to 1, this is an easy way to keep the DEPLOY_DIR_IMAGE clean. [YOCTO #4391] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/local.conf.sample.extended3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended
index 1d1a8ece40..aad615a4b7 100644
--- a/meta/conf/local.conf.sample.extended
+++ b/meta/conf/local.conf.sample.extended
@@ -207,3 +207,6 @@
#ARCHIVER_MODE[filter] ?= "no"
#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
#INHERIT += "${ARCHIVER_CLASS}"
+
+# Remove the old image before the new one generated to save disk space
+#RM_OLD_IMAGE = "1"