]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
image_types.bbclass: remove the old images
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 7 May 2013 06:09:31 +0000 (06:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 May 2013 23:12:55 +0000 (00:12 +0100)
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>
meta-yocto/conf/local.conf.sample.extended

index d0dff80385b556372b2018605c631d2a2dcb05c9..3dc73fbec6e27b2848f59e3a529da2cad4b9ce33 100644 (file)
 # 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"