Changes

Jump to: navigation, search

Hacking b2g on Raspberry Pi

446 bytes removed, 07:29, 7 November 2014
update with new patch and unfreeze of gecko/gaia
./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.). [httpshttp://pastebin.mozilla.org/6863396 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])
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: because of {{bug|1085599}}, gecko is frozen to [https://github.com/mozilla/gecko-dev/commit/b7b2dc40de355add3634cc972fc31521a8daeed3 this version], and gaia is frozen to [https://github.com/mozilla-b2g/gaia/commit/457a54fc3200b80e4f5e1cd3acaa062309230732 this version] (just because the gecko version is frozen). If a feature you were expecting to use is unavailable, this might be why. But normally you don't need to worry about this.
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.
Confirm
699
edits

Navigation menu