diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-11-11 16:27:05 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2010-11-14 21:08:23 -0800 |
commit | 7e7bb24b8512dd1452a11d8aeafc8dedcbc4d623 (patch) | |
tree | e7eb1150a5d8b4e14ec906370de760a193c2cafb | |
parent | 2c1792f0a6a294d0e399ab1da39c394cf468d8eb (diff) | |
download | poky-7e7bb24b8512dd1452a11d8aeafc8dedcbc4d623.tar.gz |
sstate.bbclass: Remove the temp sstate-build-* directories in WORKDIR
Remove the temp sstate-build-* directoies.
Take poky-image-minimal as an example, this saves about 17% disk space.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | meta/classes/sstate.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index eb003fcffd..3696a8cd3b 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -358,6 +358,9 @@ sstate_create_package () { | |||
358 | 358 | ||
359 | cd ${SSTATE_BUILDDIR} | 359 | cd ${SSTATE_BUILDDIR} |
360 | tar -cvzf ${SSTATE_PKG} * | 360 | tar -cvzf ${SSTATE_PKG} * |
361 | |||
362 | cd ${WORKDIR} | ||
363 | rm -rf ${SSTATE_BUILDDIR} | ||
361 | } | 364 | } |
362 | 365 | ||
363 | # | 366 | # |