Open agherzan opened 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
This can be run as a cron every day
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