Confirmed users
4,378
edits
(→See Also: added link to discourse article regarding how foxfooding devices should be managed) |
|||
| Line 55: | Line 55: | ||
$ git clone https://github.com/mozilla-b2g/B2G.git B2G | $ git clone https://github.com/mozilla-b2g/B2G.git B2G | ||
$ cd B2G | $ cd B2G | ||
* Checkout the pine branch of Gecko | * Checkout the pine branch of Gecko | ||
$ hg clone https://hg.mozilla.org/projects/pine/ pine | $ hg clone https://hg.mozilla.org/projects/pine/ pine | ||
* Configure B2G for the device : | |||
ie : $ ./config.sh aries | |||
* Configure B2G to use the kanikani branch of Gaia | * Configure B2G to use the kanikani branch of Gaia | ||
$ vim .repo/manifests/base.xml | $ vim .repo/manifests/base.xml | ||
<project name="gaia" path="gaia" remote="mozillaorg" revision="kanikani" /> | |||
$ cd gaia | |||
$ git reset --hard mozillaorg/kanikani | |||
$ cd .. | |||
* Configure B2G to use the pine branch of Gecko | * Configure B2G to use the pine branch of Gecko | ||
$ vim .userconfig | $ vim .userconfig | ||
| Line 68: | Line 76: | ||
export GECKO_PATH=${B2G_DIR}/pine | export GECKO_PATH=${B2G_DIR}/pine | ||
echo "GECKO_PATH = ${GECKO_PATH}" | echo "GECKO_PATH = ${GECKO_PATH}" | ||
* Configure, build and flash B2G | * Configure, build and flash B2G | ||
$ ./build.sh | |||
$ ./flash.sh | $ ./flash.sh | ||