Hacking b2g on Raspberry Pi: Difference between revisions

No edit summary
Line 87: Line 87:


== Rebuilding b2g and updating your RPi ==
== Rebuilding b2g and updating your RPi ==
To update your B2G build directory to the latest sources, run the following commands
cd $B2G
./repo sync
./build.sh
You can sync these files to your RPi using the regular b2g update commands.  The commands are
* <code>./flash.sh</code>: update the system and data files
* <code>./flash.sh system</code>: update the system files
* <code>./flash.sh data</code>: update the data files
* <code>./flash.sh gecko</code>: update the b2g runtime
* <code>./flash.sh gaia</code>: update the gaia apps and data
You can also flash your SD card anew at any time by following the instructions above.  But this should usually not be necessary.
Confirmed users
699

edits