Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 862900 - remount system partition when doing |make reset-gaia|, r=@…
Browse files Browse the repository at this point in the history
…ochameau, a=NPTOB
  • Loading branch information
timdream committed Apr 18, 2013
1 parent 2b26d6e commit ec15dfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -703,13 +703,14 @@ reset-gaia: purge install-gaia install-settings-defaults
# remove the memories and apps on the phone
purge:
$(ADB) shell stop b2g
(for FILE in `$(ADB) shell ls $(MSYS_FIX)/data/local | tr -d '\r'`; \
@(for FILE in `$(ADB) shell ls $(MSYS_FIX)/data/local | tr -d '\r'`; \
do \
[ $$FILE = 'tmp' ] || $(ADB) shell rm -r $(MSYS_FIX)/data/local/$$FILE; \
done);
$(ADB) shell rm -r $(MSYS_FIX)/cache/*
$(ADB) shell rm -r $(MSYS_FIX)/data/b2g/*
$(ADB) shell rm -r $(MSYS_FIX)/data/local/webapps
$(ADB) remount
$(ADB) shell rm -r $(MSYS_FIX)/system/b2g/webapps

# Build the settings.json file from settings.py
Expand Down

0 comments on commit ec15dfb

Please sign in to comment.