This is a simple tool for bootstrapping Chimera systems from binaries. For source builds, you want .
$ # run as root most of the time $ ./chimera-bootstrap.py --repository /path/to/main --key /path/to/key.pub /path/to/root
--help for more information.
Why not simply use apk?
For one, this script makes sure that all hooks and triggers are run correctly and reproducibly, in a safe manner. This is not ensured if you just use
apk to install a base package.
For two, Chimera has
/usr merged. Alpine does not, and
--initdb option assumes an Alpine system. This creates trouble. Therefore, the script does its own pre-initialization of the root, so that
apk can work with it.
The script also comes with some handy extra options to make things easier.