Comment 4 for bug 1359622

Revision history for this message
Martin Pitt (pitti) wrote : Re: Add functionality to reset device to factory state with keeping network connections

Discussed with Oli on IRC: In order to keep this flexible, we'll add three things:

  - phablet-config save-network # could default to /run/$serial-netconf.tar, and get an option for file name
  - phablet-config restore-network # dito
  - phablet-config factory-reset

Developers would seldomly call this manually (they'd usually run tests through adt-run or phablet-test-run), and it's more flexible for scripts.

If at some point we want a factory-reset --keep-network, this is then trivial to implement, as the code is already in phablet-config.