Confirmed users
100
edits
Luke-chang (talk | contribs) |
|||
| Line 32: | Line 32: | ||
Note that all files are optional. If you don't provide that file, it will fallback to the system | Note that all files are optional. If you don't provide that file, it will fallback to the system defaults. | ||
=== Steps to Apply Customization === | === Steps to Apply Customization === | ||
To apply gaia-distribution-sample.zip to Gaia: | |||
# | # Unzip gaia-distribution-sample.zip, assume path is <DISTRIBUTION_PATH> | ||
# | # Clone gaia source code from https://github.com/mozilla-b2g/gaia | ||
# | # You can either put the customization data in GAIA_DIR/distribution/ | ||
# | # Or you can specify the location with the GAIA_DISTRIBUTION_DIR environment variable, like this: | ||
GAIA_DISTRIBUTION_DIR=<DISTRIBUTION_PATH> make production | GAIA_DISTRIBUTION_DIR=<DISTRIBUTION_PATH> make production | ||
If a Firefox OS device is connected, you will get a Gaia build with customizations applied. | |||
Note that some customizations are done by the Gaia build scripts. Check [https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Gaia/Hacking#High_resolution_image_assets Hacking Gaia] for Build Script customization. | |||
SIM card specific customizations are included at build time, but applied at runtime during the First Time Usage experience, or when a SIM card is inserted for the first time. | |||
== Buildtime Customization == | == Buildtime Customization == | ||