Confirmed users
699
edits
(update with new patch and unfreeze of gecko/gaia) |
|||
Line 59: | Line 59: | ||
./config.sh rpi | ./config.sh rpi | ||
The config.sh step can take quite a while, because it downloads a large amount of data. Once that finishes, you need to apply a patch to the gecko checkout (for now; the patches are making their way through reviews etc.). [ | The config.sh step can take quite a while, because it downloads a large amount of data. Once that finishes, you need to apply a patch to the gecko checkout (for now; the patches are making their way through reviews etc.). [http://pastebin.mozilla.org/7160741 Download the patch from here] and then apply to your <code>B2G/gecko</code> subdirectory by running the command | ||
(cd gecko && git apply [the patch you downloaded]) | (cd gecko && git apply [the patch you downloaded]) | ||
Note: if <code>git apply</code> fails, you may need to use <code>patch -p1</code>. Also, the contents of this patch should shrink over time as changes are landed upstream. So after you <code>repo sync</code> your checkout, you may need to return to this page and apply a new version of the patch. Hopefully, soon no extra patches will be needed. | Note: if <code>git apply</code> fails, you may need to use <code>patch -p1</code>. Also, the contents of this patch should shrink over time as changes are landed upstream. So after you <code>repo sync</code> your checkout, you may need to return to this page and apply a new version of the patch. Hopefully, soon no extra patches will be needed. | ||
Next, either copy the files <code>device/rpi/rpi/custom-settings.json</code> and <code>device/rpi/rpi/custom-prefs.js</code> in your <code>gaia/build/config/</code> directory, or --- if you already have custom settings or prefs --- append the contents of those files to your existing custom-* files. | Next, either copy the files <code>device/rpi/rpi/custom-settings.json</code> and <code>device/rpi/rpi/custom-prefs.js</code> in your <code>gaia/build/config/</code> directory, or --- if you already have custom settings or prefs --- append the contents of those files to your existing custom-* files. |