From: Junghyun Yeon Date: Wed, 30 Mar 2016 07:14:40 +0000 (+0900) Subject: implement pkg move X-Git-Tag: accepted/tizen/ivi/20160421.011303 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50171da70de242667c2d7fcb043780204ad2731b;p=platform%2Fcore%2Fappfw%2Fslp-pkgmgr.git implement pkg move changes are applied in these repos [pkgmgr-tool] https://review.tizen.org/gerrit/#/c/64121/ [slp-pkgmgr] https://review.tizen.org/gerrit/#/c/64122/ [pkgmgr-server] https://review.tizen.org/gerrit/#/c/64123/ Change-Id: Ic2de3a2b690aafc78faeb78695862d3d181451de Signed-off-by: Junghyun Yeon --- diff --git a/client/src/pkgmgr.c b/client/src/pkgmgr.c index 9fb8340..7a227d0 100644 --- a/client/src/pkgmgr.c +++ b/client/src/pkgmgr.c @@ -729,11 +729,6 @@ static int __move_pkg_process(pkgmgr_client *pc, const char *pkgid, return ret; } - /* FIXME */ - ret = __sync_process(pkgid); - if (ret != 0) - ERR("move pkg failed, ret=%d\n", ret); - return ret; } @@ -1339,7 +1334,7 @@ API int pkgmgr_client_usr_move(pkgmgr_client *pc, const char *pkg_type, } ret = comm_client_request(mpc->info.request.cc, "move", - g_variant_new("(uss)", uid, pkg_type, pkgid), &result); + g_variant_new("(ussi)", uid, pkg_type, pkgid, move_type), &result); if (ret != PKGMGR_R_OK) { ERR("request failed: %d", ret); return ret;