Hacking b2g on Raspberry Pi: Difference between revisions

Line 16: Line 16:
== Building b2g for RPi ==
== Building b2g for RPi ==


Install the [https://developer.mozilla.org/en-US/Firefox_OS/Firefox_OS_build_prerequisites b2g build prerequisites].  For the time being, only linux is supported as a build environment.  Note that Ubuntu 12.04 is the best-supported development OS.  If you're not running Ubuntu 12.04 on your development machine, you can install it as virtual machine and build in there.
Install the [https://developer.mozilla.org/en-US/Firefox_OS/Firefox_OS_build_prerequisites b2g build prerequisites].  For the time being, only linux is officially supported as a build environment; you can use OS X but you'll have to manually partition your RPi's SD card for the first flash.  Note that Ubuntu 12.04 is the best-supported development OS.  If you're not running Ubuntu 12.04 on your development machine, you can install it as virtual machine and build in there.


A b2g build environment consumes a fair amount of disk space, between 15-20 GB.  Please make sure you have enough free space on your development machine (or VM).
A b2g build environment consumes a fair amount of disk space, between 15-20 GB.  Please make sure you have enough free space on your development machine (or VM).
Confirmed users
699

edits