|
|
| Line 51: |
Line 51: |
|
| |
|
| == Building the Transition Branches == | | == Building the Transition Branches == |
| To build the transition branches of B2G for an Aries (Sony Z3C) device:
| |
| * Checkout B2G
| |
| $ git clone https://github.com/mozilla-b2g/B2G.git B2G
| |
| $ cd B2G
| |
|
| |
|
| * Checkout the pine branch of Gecko
| | See [https://developer.mozilla.org/en-US/docs/Mozilla/B2G_OS/Preparing_for_your_first_B2G_build MDN] for build instructions. |
| $ hg clone https://hg.mozilla.org/projects/pine/ pine
| | |
| | |
| * Configure B2G for the device :
| |
| $ ./config.sh <device>
| |
| ie device = flame-kk or aries
| |
| | |
| * Configure B2G to use the kanikani branch of Gaia
| |
| $ 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
| |
| $ vim .userconfig
| |
| | |
| export B2G_DIR=${B2G_DIR:-$(cd $(dirname $0); pwd)}
| |
| echo "B2G_DIR = ${B2G_DIR}"
| |
| export GECKO_PATH=${B2G_DIR}/pine
| |
| echo "GECKO_PATH = ${GECKO_PATH}"
| |
| | |
| * Configure, build and flash B2G
| |
| ** plug in your device that has the android base or firefox os base build
| |
| $ ./build.sh
| |
| $ ./flash.sh
| |
| | |
| '''Notes:'''
| |
| * If you get an error about a mismatched base build at the build step you don't have the required existing version of Android/B2G on your device. You'll need to flash the version of Android specified by the build script or get hold of a backup-aries folder.
| |
| * [https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building See MDN] for more detailed build instructions for B2G in general.
| |
| * If you have problems, try asking for help in #fxos on irc.mozilla.org or on the [https://lists.mozilla.org/listinfo/dev-fxos dev-fxos] mailing list.
| |
|
| |
|
| == How You Can Help == | | == How You Can Help == |