projects
/
platform
/
core
/
appfw
/
pkgmgr-tool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f75ab3
)
Support debug mode for reinstall, mount install
83/152783/1
author
Semun Lee
<semun.lee@samsung.com>
Wed, 20 Sep 2017 10:30:41 +0000
(19:30 +0900)
committer
Semun Lee
<semun.lee@samsung.com>
Wed, 27 Sep 2017 05:48:37 +0000
(
05:48
+0000)
Change-Id: I5a54a6dec944415579c172e5d63bdcf57a27c662
Signed-off-by: Semun Lee <semun.lee@samsung.com>
(cherry picked from commit
a3e41e5e8020967acb82bad7ee0986cbd8272dce
)
src/pkg_cmd.c
patch
|
blob
|
history
diff --git
a/src/pkg_cmd.c
b/src/pkg_cmd.c
index 813bd2e357b292f30cf52713a9b4542e2e03ca05..4e5821989e13de281d079ee828473d5ec3b41c80 100644
(file)
--- a/
src/pkg_cmd.c
+++ b/
src/pkg_cmd.c
@@
-747,6
+747,9
@@
static int __process_request(uid_t target_uid)
break;
}
+ if (data.debug_mode)
+ pkgmgr_client_set_debug_mode(pc, true);
+
ret = pkgmgr_client_usr_reinstall(pc, NULL, data.pkgid, NULL, PM_QUIET, __return_cb, pc, target_uid);
if (ret < 0) {
data.result = PKGMGR_INSTALLER_ERRCODE_ERROR;
@@
-772,6
+775,9
@@
static int __process_request(uid_t target_uid)
break;
}
+ if (data.debug_mode)
+ pkgmgr_client_set_debug_mode(pc, true);
+
if (data.tep_path[0] != '\0')
pkgmgr_client_set_tep_path(pc, data.tep_path, data.tep_move);