summaryrefslogtreecommitdiffstats
path: root/meta-yocto
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 /meta-yocto
parent350c36fcd97e8ef223b91e548d39c346c1c4cb29 (diff)
downloadast2050-yocto-poky-995c196f98bf3a85e73f4981cfeeacfb5b84330e.zip
ast2050-yocto-poky-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>
Diffstat (limited to 'meta-yocto')
-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 d0dff80..3dc73fb 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -211,3 +211,6 @@
# Put the following two lines in the conf file with intact.
#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"
OpenPOWER on IntegriCloud