From: Patrik Flykt <[email protected]>
Hi,
This patch set implements service migration from the very old and
obsolete default.profile.
Support for back-up service loading from default.profile has been removed
(patch 02). ConnMan has been saving services in separate directories and
thus not loading them from default.profile since version 0.78. If no
newer settings file is found, non-existing services are migrated into
the current setup of one directory per service (patch 03). When successfully
completed, the obsolete default.profile is removed (patch 04). Saving
functions return error if saving failed (patch 01).
If the new-style global settings file exists, migration is considered
already completed and the old default.profile file is removed unconditionally.
Thus no migration is performed if ConnMan version 0.78 has been run at least
once. Speak up now if this is a problem for you!
Cheers,
Patrik
Patrik Flykt (4):
storage: Return any errors when saving services and global config
storage: Remove support for loading services from default.profile
storage: Migrate services from obsolete default.profile
storage: Remove default.profile when migration has been done
src/connman.h | 4 +--
src/storage.c | 111 +++++++++++++++++++++++++++++++++++++++++++++------------
2 files changed, 90 insertions(+), 25 deletions(-)
--
1.7.10
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman