mirror of
git://git.yoctoproject.org/poky
synced 2026-09-26 21:25:12 +00: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:
parent
2c1792f0a6
commit
7e7bb24b85
@ -358,6 +358,9 @@ sstate_create_package () {
|
|||||||
|
|
||||||
cd ${SSTATE_BUILDDIR}
|
cd ${SSTATE_BUILDDIR}
|
||||||
tar -cvzf ${SSTATE_PKG} *
|
tar -cvzf ${SSTATE_PKG} *
|
||||||
|
|
||||||
|
cd ${WORKDIR}
|
||||||
|
rm -rf ${SSTATE_BUILDDIR}
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user