balena-os / balena-os

The central place for all things BalenaOS related.
Apache License 2.0
113 stars 12 forks source link

staging/production builds should cleanup the sstates #99

Open agherzan opened 8 years ago

agherzan commented 8 years ago

On staging and production build, at the end of the process, run the yocto cleanup script (https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/sstate-cache-management.sh) to remove all the sstate duplicates.

About sstate cache: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#shared-state-cache ; https://wiki.yoctoproject.org/wiki/Enable_sstate_cache Script duplicates support: https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/sstate-cache-management.sh#n54

lifeeth commented 7 years ago

This can be run as a cron every day