Closed
Bug 744989
Opened 13 years ago
Closed 13 years ago
Formal mechanism to disable B2G updates in development builds
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: m1, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.152 Safari/535.19
Steps to reproduce:
By default local gaia is updated with changes to gaiamobile.org. This is generally convenient, but it is a nuisance during bring up activities or while performing analysis on a known build. An UI in this case renders the environment invalid. One method for disabling updates is to play around with /etc/hosts. The ask here is to simply formalize the mechanism used to disable updates by a |make stop-updates| command or something. When Gecko updates are enabled by default, we'll want a way to disable that as well.
Comment 1•13 years ago
|
||
You can use a dummy domain instead of gaiamobile.org:
cd $GAIA
GAIA_DOMAIN=foo.org make install-gaia
adb push profile/user.js /data/b2g/mozilla/$$PROFILE_DIR$$/user.js
I'm not sure if we'll want to prevent applications updates or not.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 2•13 years ago
|
||
Cool, sounds like that'll work. Just asking for that to be shoved into a make target that's easily regurgitated when needed.
The fix for this is on the b2g build-system side: we'll have "official" builds that update, and "unofficial" ones that don't. If you have a minute, plz to be filing in b2g, /me hasn't had time :/.
Turning off appcache updates is not what we want to do.
Comment 4•13 years ago
|
||
Not blocking on this, but making a note on the Gaia hacking page.
blocking-basecamp: --- → -
Comment 5•13 years ago
|
||
We are no longer using app cache shortly, so this problem will go away.
Comment 7•13 years ago
|
||
I added the tip from comment #1 here:
https://wiki.mozilla.org/Gaia/Hacking#Disabling_updates
This was discussed during the B2G triage call and it was recommended that we close this as WONTFIX.
Status: NEW → RESOLVED
blocking-basecamp: - → ---
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•