I continue the script on GitHub so i can maintain it better.
git clone https://github.com/picomatic/builde .
This version has a new feature, you can skip repo sync
by adding the --nosync
parameter. Only do this if you want modify things in the repo and debug. Normal builds don’t need this
example: ./builde.sh --nosync