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>
This commit is contained in:
parent
2c1792f0a6
commit
7e7bb24b85
|
@ -358,6 +358,9 @@ sstate_create_package () {
|
|||
|
||||
cd ${SSTATE_BUILDDIR}
|
||||
tar -cvzf ${SSTATE_PKG} *
|
||||
|
||||
cd ${WORKDIR}
|
||||
rm -rf ${SSTATE_BUILDDIR}
|
||||
}
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue