Closed Bug 821245 Opened 12 years ago Closed 12 years ago

Remove /data/local/tmp directory will cause adb server on some phone to crash

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timdream, Assigned: timdream)

Details

(Whiteboard: QARegressExclude)

Attachments

(1 file)

Attached patch Makefile patchSplinter Review
We found that on phones specific to some venders, removing /data/local/tmp will cause adb to loose connection. I've modified |make purge| not to do that, but use a for loop to delete files other than tmp. Should be a trivial change to the Makefile but critical to a unannounced project. Vivien, please approve this change, thanks.
Attachment #691744 - Flags: review?(21)
Attachment #691744 - Flags: approval-gaia-master?(21)
Comment on attachment 691744 [details] [diff] [review] Makefile patch Review of attachment 691744 [details] [diff] [review]: ----------------------------------------------------------------- ::: Makefile @@ +605,5 @@ > purge: > $(ADB) shell stop b2g > + @(for FILE in `$(ADB) shell ls $(MSYS_FIX)/data/local | tr -d '\r'`; \ > + do \ > + echo $$FILE; \ nit: the indent seems a bit strange
Attachment #691744 - Flags: review?(21)
Attachment #691744 - Flags: review+
Attachment #691744 - Flags: approval-gaia-master?(21)
Attachment #691744 - Flags: approval-gaia-master+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: QARegressExclude
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: