Commit Graph

4 Commits

Author SHA1 Message Date
Bill Richardson
00a849e16e Use tr instead of sed to unDOSify the config file, so it works on Macs.
Change-Id: Ib41cdd22d542004bd776828a43ae687942bc5ccc

BUG=chromium-os:781
TEST=manual, as before.

Review URL: http://codereview.chromium.org/5516010
2010-12-06 13:56:12 -08:00
Bill Richardson
d5b3d9dacc Allow specifying an alternate config file URL on the commandline.
Change-Id: I1b73674c769027cb557b37d3533534f261521106

BUG=chromium-os:781
TEST=manual

Try running recovery.sh with no args. It should try to download the config
file from a default location (which may not actually exist). Then try
running recovery.sh with a URL as a command-line argument. It should fetch
the config file from that location instead.

Review URL: http://codereview.chromium.org/5529006
2010-12-06 12:51:18 -08:00
Bill Richardson
82d206fb89 Refactor FETCH and CHECK into functions for easier maintenance.
Change-Id: Ic5b413e18f04a208a8e313be151ffc0da8db207b

BUG=chromium-os:781
TEST=manual, same as before.
TBR=eminer@chromium.org

Ed's given me a preliminary LGTM, and people are waiting.
2010-12-06 12:27:05 -08:00
Bill Richardson
99dc586b24 Initial creation of the end-user recovery tool.
This is work in progress. I'm committing what I've got as a starting point
for futher discussion, since we're just collaborating via email at the
moment, which is painful.

Change-Id: Iff21c008b3916d9612c021e5ee5c67258357d516

BUG=chromium-os:781
TEST=manual

Download user_tools/linux/recovery.sh to a linux machine and run it.

It should walk you through the process of creating a USB recovery key.

Review URL: http://codereview.chromium.org/5562003
2010-12-03 18:14:02 -08:00