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 /meta/classes | |
parent | 2c1792f0a6a294d0e399ab1da39c394cf468d8eb (diff) | |
download | openembedded-core-7e7bb24b8512dd1452a11d8aeafc8dedcbc4d623.tar.gz openembedded-core-7e7bb24b8512dd1452a11d8aeafc8dedcbc4d623.tar.bz2 openembedded-core-7e7bb24b8512dd1452a11d8aeafc8dedcbc4d623.zip |
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>
Diffstat (limited to 'meta/classes')
-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 () { cd ${SSTATE_BUILDDIR} tar -cvzf ${SSTATE_PKG} * + + cd ${WORKDIR} + rm -rf ${SSTATE_BUILDDIR} } # |