Auto-tools/Projects/B2G/B2G Build Machine
An amazon EC2 VM is acting as a build machine for B2G builds. It builds qemu for each github commit to https://github.com/andreasgal/B2G. The build results are available at http://builder.boot2gecko.org/.
Setup
gitbuilder
The machine uses gitbuilder to make the builds. Gitbuilder is installed at /data/gitbuilder, and the B2G repo that gitbuilder uses is at /data/gitbuilder/build. The build script used by gitbuilder is at /data/gitbuilder/build.sh.
manually building: to manually make a build, execute
/data/gitbuilder/run-build.sh HEAD
or specify a different revision
automatically building: there is a cron job that launches /data/gitbuilder/start every hour. This script sees if there are any new commits in the repo it is monitoring, and if so, it pulls and builds. If gitbuilder is already running when start is invoked, it will exit.
logs: gitbuilder logs are all stored at /data/gitbuilder/out, which is the directory served by http://builder.boot2gecko.org/
installing build libs
In order to build B2G, the usual libs need to be installed. However, B2G needs 32-bit libs, and these are not available by default on this 64-bit VM.