Closed Bug 1194863 Opened 9 years ago Closed 9 years ago

Detect and report production builds

Categories

(Firefox OS Graveyard :: B2gInstaller, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: daleharvey, Assigned: gerard-majax)

References

Details

Attachments

(1 file)

51 bytes, text/x-github-pull-request
daleharvey
: review+
Details | Review
So I flashed a production build on my phone, now we attempt to summon root in the installer and cant
Blocks: b2g-addon
(In reply to Dale Harvey (:daleharvey) from comment #0)
> So I flashed a production build on my phone, now we attempt to summon root
> in the installer and cant

So on Nexus 4/5 devices for which we currently rely on pulling blobs from the device, this is not a big deal and we can do the job without the root. Maybe we should augment devices.json and add this information on a manual basis?
Flags: needinfo?(dale)
Yeh adding to devices.json and not going into root for devices we dont need it sounds like a good idea
Flags: needinfo?(dale)
Attached file WIP PR
Assignee: nobody → lissyx+mozillians
Comment on attachment 8658226 [details] [review]
WIP PR

So I consider that any device defaults to requiring root. Except those with the "requiresRoot: false" properly in the devices.json.

I checked on my Z3c (only device I have with me) and it did the job of not forcing root when I used the blobfree distribution that had "requiresRoot: false".
Attachment #8658226 - Flags: review?(dale)
Blocks: 1203407
Comment on attachment 8658226 [details] [review]
WIP PR

This looks good to me, gave it a basic test run and doesnt look like any breakages, cheers
Attachment #8658226 - Flags: review?(dale) → review+
https://github.com/mozilla-b2g/b2g-installer/commit/782983a6ba04b3ebf1ca667a0936d59f46a703c9
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1208988
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: