diff options
author | Krzysztof Jackiewicz <k.jackiewicz@samsung.com> | 2016-01-08 13:32:28 +0100 |
---|---|---|
committer | Krzysztof Jackiewicz <k.jackiewicz@samsung.com> | 2016-01-14 09:38:36 +0100 |
commit | a61e9ce01fa45323b381e6456d07117516d2e55d (patch) | |
tree | 033ada39d5a6212a9c4d0d5282c53c551d0e9c20 /tools | |
parent | 8bc7217902a49348d31647251fe9f4937b08a5f3 (diff) | |
download | key-manager-a61e9ce01fa45323b381e6456d07117516d2e55d.tar.gz key-manager-a61e9ce01fa45323b381e6456d07117516d2e55d.tar.bz2 key-manager-a61e9ce01fa45323b381e6456d07117516d2e55d.zip |
Get dir locations from environment
[Problem] Key manager data dir location was hardcoded to /opt/data/ckm/. On
common profile image key-manager fails to start because of lack of /opt/data.
[Solution] Get directory locations from tizen platform config. Copy files
from old location if necessary. Make installation fail if runtime and compile
time settings differ. Provide upgrade script.
[Verification] Install key-manager package. Make sure all the content from
/opt/data/ckm/ has been moved to new location (/usr/data/ckm). Run tests. Make
sure all data is placed in new location. Run upgrade scripts
(/etc/opt/upgrad/*key-manager*.sh) on old version of ckm and check results.
Change-Id: Idafbe0fe43f1140c137f87883273b609a499b4cc
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ckm_db_tool/ckm_db_tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ckm_db_tool/ckm_db_tool.cpp b/tools/ckm_db_tool/ckm_db_tool.cpp index 2ef8fdf4..378ff9ed 100644 --- a/tools/ckm_db_tool/ckm_db_tool.cpp +++ b/tools/ckm_db_tool/ckm_db_tool.cpp @@ -148,7 +148,7 @@ void usage() { cout << endl; cout << "Usage: ckm_db_tool uid [password] [sql_command]" << endl; cout << endl; - cout << "uid (mandatory) User id as in /opt/data/ckm/db-<uid>" << endl; + cout << "uid (mandatory) User id as in <TZ_SYS_DATA>/ckm/db-<uid>" << endl; cout << "password (optional) Password used for database encryption. For system database (uid < 5000) no password should be used." << endl; cout << "sql_command (optional) Sqlite3 command to execute on database. If empty the tool will enter interactive mode." << endl; cout << endl; |