B2G/MarketCustomizations: Difference between revisions

Jump to navigation Jump to search
Line 32: Line 32:




Note that all files are optional. If you don't provide that file, it will fallback to the system default settings.
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 ===


Here are steps to apply sample-customize.zip to gaia custom build:
To apply gaia-distribution-sample.zip to Gaia:


# unzip sample-customize.zip, assume path is <DISTRIBUTION_PATH>
# Unzip gaia-distribution-sample.zip, assume path is <DISTRIBUTION_PATH>
# clone gaia source code from https://github.com/mozilla-b2g/gaia
# Clone gaia source code from https://github.com/mozilla-b2g/gaia
# you can just put customization data to GAIA_DIR/distribution/
# You can either put the customization data in GAIA_DIR/distribution/
# or you can run command
# 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


To assign an specific folder for your customization.
If a Firefox OS device is connected, you will get a Gaia build with customizations applied.


if you connected a firefox os device. Then you will get the gaia build with customization.
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.


Note that some customization are done via build script. 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 ==
Confirmed users
100

edits

Navigation menu