Closed Bug 904006 Opened 11 years ago Closed 11 years ago

[Single Variant] Integrate single variant in Gaia build scripts

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: albert, Assigned: albert)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

Join scripts from 904004 and 904005 into one.

Integrate scripts with Gaia build process
Depends on: 904005
Depends on: 904004
Blocks: 899079
Assignee: nobody → acperez
Attached file Patch
This patch calls build/local-apps.py (bugs 904004 & 904005) at build time when making gaia or generating a firefox OS build.
Attachment #797787 - Flags: review?(yurenju.mozilla)
Steps to test the patch:

If installing gaia only, sync with https://github.com/telefonicaid/firefoxos-gaia-spain repo and follow the README or copy the repo to $GAIA_HOME/distribution.

If making a Firefox OS build, copy the repo content to $GAIA_HOME/distribution and build as usuall with ./build.sh
Blocks: 911809
I modified "o2" section in local-apps.json to my carrier mcc/mnc but seems doesn't work.

here is my steps:
1. (in firefoxos-gaia-spain) copy |samples/local-apps.json| to root directory of firefoxos-gaia-spain
2. modify local-apps.json with mcc/mnc of my carrier[1]
3. (in gaia dir) MOZILLA_OFFICIAL=1 GAIA_DISTRIBUTION_DIR=<PATH-TO-firefoxos-gaia-spain> make production

I should have puzzle and sudoku but not.

[1] https://gist.github.com/yurenju/6420730#file-gistfile1-json-L36-L51
Flags: needinfo?(acperez)
BTW here is my mcc/mnc info
mcc: 466
mnc: 92
gecko revision: 1179318fb5aa
Sorry, I forgot to mention that this bug only generates at built-time the files needed in bug 893800, which is the responsible of installing the apps depending on the mcc/mnc.

So, the goal of this bug is:
- Add singlevariantconf.json to apps/homescreen/js/ folder (provides info to place apps in the desired location in the homescreen).
- Add singlevariantconf.json to profile/svoperapps/ folder.
- Add apps to profile: profile/svoperapps/{app_name}
Flags: needinfo?(acperez)
Attachment #797787 - Flags: review?(yurenju.mozilla) → review+
Master: fc0464d692b87ca9e9aae74e71e4b5df46236831
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Planning to track against bug 899079 for testing.
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: