B2G/QA/Tips And Tricks: Difference between revisions

Line 532: Line 532:
=== After Compiling ===
=== After Compiling ===
* to find the repo rev versions : look at: <compile dir>/out/target/product/leo/system/sources.xml
* to find the repo rev versions : look at: <compile dir>/out/target/product/leo/system/sources.xml
== Generate Gaia/Gecko OTA Update Package ==
To generate complete Gaia/Gecko OTA update package and update.xml file, please follow the steps.
* Prepare the B2G project, then config it.
* Generate B2G build and update package.
  $ cd $b2g
  $ <ENV_VARS> ./build.sh
  $ <ENV_VARS> ./build.sh gecko-update-full
* Generate update.xml file for update package.
  $ ./tools/update-tools/build-update-xml.py -o out/update.xml -u <dest_url>/b2g-gecko-update.mar -v <app_ver> -V <platform_ver> \
    objdir-gecko/dist/b2g-update/b2g-gecko-update.mar
* Copy update package to http server.
  $ cp objdir-gecko/dist/b2g-update/b2g-gecko-update.mar <dest>
  $ cp out/update.xml <dest>
For more detail, you can have a look on https://wiki.mozilla.org/B2G/Updating


= Automation =
= Automation =
Confirmed users
112

edits