[Single Variant] Clear single variant applications stored in persist partition when flashing gaia

RESOLVED FIXED

Status

Firefox OS
Gaia
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: albert, Assigned: albert)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [systemsfe])

Attachments

(1 attachment)

363 bytes, text/html
yurenju
: review+
Details
(Assignee)

Description

4 years ago
Single variant applications are stored in persist partitions to ensure its availability when doing a 'factory reset'. However, when flashing gaia with different configurations of single variant only the first configuration is applied.
(Assignee)

Updated

4 years ago
blocking-b2g: --- → 1.4?
(Assignee)

Updated

4 years ago
Assignee: nobody → acperez
(Assignee)

Updated

4 years ago
Whiteboard: [systemsfe]
(Assignee)

Comment 1

4 years ago
Created attachment 8364407 [details]
Patch
Attachment #8364407 - Flags: review?(yurenju.mozilla)
Comment on attachment 8364407 [details]
Patch

Why not just remove it without |test -d|?
(Assignee)

Comment 3

4 years ago
(In reply to Yuren Ju [:yurenju][:小朱] from comment #2)
> Comment on attachment 8364407 [details]
> Patch
> 
> Why not just remove it without |test -d|?

To avoid the error message: 'rm failed for /persist/svoperapps, No such file or directory'
Comment on attachment 8364407 [details]
Patch

got it, r=yurenju
Attachment #8364407 - Flags: review?(yurenju.mozilla) → review+
(Assignee)

Comment 5

4 years ago
Master: https://github.com/mozilla-b2g/gaia/commit/476bd014a811f2d525228ecf27a119f5b3841af5
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED

Updated

4 years ago
blocking-b2g: 1.4? → ---
You need to log in before you can comment on or make changes to this bug.