mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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:
@@ -358,6 +358,9 @@ sstate_create_package () {
|
||||
|
||||
cd ${SSTATE_BUILDDIR}
|
||||
tar -cvzf ${SSTATE_PKG} *
|
||||
|
||||
cd ${WORKDIR}
|
||||
rm -rf ${SSTATE_BUILDDIR}
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user