summaryrefslogtreecommitdiffstats
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:16:24 +0100
commit995c196f98bf3a85e73f4981cfeeacfb5b84330e (patch)
tree5311a402180f4788f4ac854c7f18cc363861bbd9
parent350c36fcd97e8ef223b91e548d39c346c1c4cb29 (diff)
downloadpoky-995c196f98bf3a85e73f4981cfeeacfb5b84330e.tar.gz
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] (From meta-yocto rev: 4aa8d872c44c5e9e40a52718ee78173710b7cb56) 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>
-rw-r--r--meta-yocto/conf/local.conf.sample.extended3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
index d0dff80385..3dc73fbec6 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -211,3 +211,6 @@
211# Put the following two lines in the conf file with intact. 211# Put the following two lines in the conf file with intact.
212#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}" 212#ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}"
213#INHERIT += "${ARCHIVER_CLASS}" 213#INHERIT += "${ARCHIVER_CLASS}"
214
215# Remove the old image before the new one generated to save disk space
216#RM_OLD_IMAGE = "1"