In practice, there is no much difference between b2g-config and target
mozharness options, and we are fine specifying both with the same value.
We replace b2g-config by target in our mach command interface because
it seems easier to understand and will make the life for phone builds
easier.
Primarily builder performance optimizations by leveraging both vcs caching and
docker caching improvmenets. By side effect this is also the ground work for
supporting git.
A commit in the mozilla-central repository [1] broke the gaia URL
repository URL construction code.
We now make sure our code works independent of the leading slash
presence.
[1] http://hg.mozilla.org/mozilla-central/rev/f3782f5c2710
The "mach ci-build" has a new optional argument called b2g-config. This
allows the user to pass the b2g config directory for the target. This
argument is necessary for emulator and phone builds.
The setup of builder image moved to system-setup.sh script because
needs to do more complex work, like downloading repo and installing
mozilla buildtools package.
The build-emulator.sh script is reponsible for building emulators.
Besides the REPOSITORY and REVISION environment variables, it requires
TARGET and B2G_CONFIG too.