oe-alliance / build-enviroment

This sets-up the oe-alliance build environment.
Other
31 stars 60 forks source link

Create cleanup-build.sh #24

Closed persianpros closed 6 years ago

persianpros commented 6 years ago

Sometime we compile so many images for so many STBs but we don't want to keep them all, also we don't want to remove the build folder too as we have to compile everything again in that case! With this script you just give the machine name and it will cleanup the build folder for you faster than you could imagine, so the size of the build folder will be reduced and you will have more space again.

persianpros commented 6 years ago

This works for PLi: https://github.com/OpenPLi/openpli-oe-core/pull/505 This works for us: https://github.com/PLi-metas/pli-extras/blob/develop/cleanup-build.sh

As OE-A has "MACHINEBUILD" I'm not sure about it so please check it yourself, I just wanted to help, feel free to edit it for OE-A.

Good luck :)

atvcaptain commented 6 years ago

with oe-a you must rm only one folder , no script needed