platform/core/appfw/pkgmgr-tool.git
8 years agoHandle error case on execl failed 67/62767/1
Sangyoon Jang [Fri, 18 Mar 2016 05:32:43 +0000 (14:32 +0900)]
Handle error case on execl failed

Change-Id: I02b91937306a44affb17cf7e7b404a08215dcf2b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix coding styles and change keyword 'entry' to more readable one. 15/61315/7
jongmyeongko [Mon, 7 Mar 2016 08:48:48 +0000 (17:48 +0900)]
fix coding styles and change keyword 'entry' to more readable one.

Change-Id: I7603251b6fce3881aec3ad379e6e565e956ce283
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agosuppress build warnings 93/61993/1 accepted/tizen/common/20160317.155403 accepted/tizen/ivi/20160315.001445 accepted/tizen/mobile/20160315.001358 accepted/tizen/tv/20160315.001408 accepted/tizen/wearable/20160315.001423 submit/tizen/20160314.031145 submit/tizen_common/20160316.154911
Junghyun Yeon [Sat, 12 Mar 2016 05:26:42 +0000 (14:26 +0900)]
suppress build warnings

Change-Id: Iea0c6ccb96fbd96d9d3dfffd7a0757b34d3a116e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoadd debug-mode option (-G) 40/61640/1 accepted/tizen/common/20160310.081846 accepted/tizen/ivi/20160310.061618 accepted/tizen/mobile/20160310.061448 accepted/tizen/tv/20160310.061517 accepted/tizen/wearable/20160310.061552 submit/tizen/20160309.112706
jongmyeongko [Wed, 9 Mar 2016 09:14:18 +0000 (18:14 +0900)]
add debug-mode option (-G)

Change-Id: I0a69aa9eccc92a581605b5a0a49ab40d57568124
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agouse strncat instead of strcat for secure code 14/61214/4 accepted/tizen/common/20160310.080408 accepted/tizen/ivi/20160309.011020 accepted/tizen/mobile/20160309.010926 accepted/tizen/tv/20160309.010945 accepted/tizen/wearable/20160309.011001 submit/tizen/20160309.001916
Junghyun Yeon [Sun, 6 Mar 2016 06:04:09 +0000 (15:04 +0900)]
use strncat instead of strcat for secure code

Change-Id: Ia485a0c92c8f0f691c30c462178f23cb234ccdd0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoadd a tool for preload tpk install 26/60126/6 accepted/tizen/common/20160308.142654 accepted/tizen/ivi/20160308.100818 accepted/tizen/mobile/20160308.100734 accepted/tizen/tv/20160308.100745 accepted/tizen/wearable/20160308.100802 submit/tizen/20160308.022332
jongmyeongko [Tue, 23 Feb 2016 12:59:04 +0000 (21:59 +0900)]
add a tool for preload tpk install

Change-Id: I87fe3e12dae579f3f387d6774981971f5f06b8a3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix getting appinfo 14/60414/2 accepted/tizen/common/20160304.194344 accepted/tizen/ivi/20160303.093926 accepted/tizen/mobile/20160303.093814 accepted/tizen/tv/20160303.093836 accepted/tizen/wearable/20160303.093907 submit/tizen/20160303.064856
Sangyoon Jang [Fri, 26 Feb 2016 04:33:15 +0000 (13:33 +0900)]
Fix getting appinfo

Consider widget application also.

Change-Id: I789262f7e1c711f5d8db5e7b700337f9e30db01f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agomodification for seperation of RO/RW location 10/60210/4
jongmyeongko [Wed, 24 Feb 2016 06:48:00 +0000 (15:48 +0900)]
modification for seperation of RO/RW location

Change-Id: I1c6123fabe5dfedcceacd7962908f2536cc03b69
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoclear 'rpm' related code 30/59730/3 accepted/tizen/common/20160222.162204 accepted/tizen/ivi/20160222.011635 accepted/tizen/mobile/20160222.011425 accepted/tizen/tv/20160222.011511 accepted/tizen/wearable/20160222.011550 submit/tizen/20160219.102650 submit/tizen_common/20160222.141210
jongmyeongko [Thu, 18 Feb 2016 03:16:41 +0000 (12:16 +0900)]
clear 'rpm' related code

Change-Id: I14d01aab4298afbc26a26ddd5d56591560a64ebe
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd posttrans section to run pkg_initdb 85/58885/2 accepted/tizen/common/20160217.170723 accepted/tizen/ivi/20160218.083759 accepted/tizen/mobile/20160218.005434 accepted/tizen/tv/20160218.005443 accepted/tizen/wearable/20160218.005458 submit/tizen/20160217.083624 submit/tizen_common/20160217.083802 submit/tizen_common/20160217.131930
Sangyoon Jang [Thu, 4 Feb 2016 11:55:16 +0000 (20:55 +0900)]
Add posttrans section to run pkg_initdb

pkg_initdb is runned by kickstart currently, but we run here to manage
easily

Change-Id: Id58b1f5e922ebedfe97a0c9c7e56d2205e4e15fb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRun 'pkg-install-manifest' from pkg_initdb 79/55679/18 accepted/tizen/ivi/20160218.023250 accepted/tizen/mobile/20160205.064216 accepted/tizen/tv/20160205.064229 accepted/tizen/wearable/20160205.064250 submit/tizen/20160205.051501 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Arkadiusz Szulakiewicz [Mon, 28 Dec 2015 15:37:25 +0000 (16:37 +0100)]
Run 'pkg-install-manifest' from pkg_initdb

Depends on:
https://review.tizen.org/gerrit/57511

Change-Id: I142846bfb2c4c8a9d710e19d72c3077b0b2a54c9

8 years agoImplement app signal related with app disable/enable 30/57830/5 devel/ivi accepted/tizen/mobile/20160202.114611 accepted/tizen/mobile/20160203.051936 accepted/tizen/tv/20160202.114657 accepted/tizen/tv/20160203.051949 accepted/tizen/wearable/20160202.114735 accepted/tizen/wearable/20160203.052021 submit/devel/ivi/20160202.071226 submit/tizen/20160201.060916 submit/tizen/20160202.002216 submit/tizen/20160202.010556 submit/tizen/20160202.023804 submit/tizen/20160203.003555
Junghyun Yeon [Mon, 25 Jan 2016 06:13:18 +0000 (15:13 +0900)]
Implement app signal related with app disable/enable

Changes applied at
[pkgmgr-tool][pkgmgr-info][slp-pkgmgr][pkgmgr-server]

Change-Id: I83150dde0b73b1f1a234b0ea31249dd1d342cad3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAdd blacklist commands 35/58435/2 accepted/tizen/mobile/20160202.113042 accepted/tizen/tv/20160202.113047 accepted/tizen/wearable/20160202.113052 submit/tizen/20160201.055830
Sangyoon Jang [Mon, 1 Feb 2016 02:54:52 +0000 (11:54 +0900)]
Add blacklist commands

add blacklist commands
use macro for opt value instead of constants

Change-Id: Ic09994716c7464084cc59d8f441c6ecc4075425e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix pkg_getsize, pkg_clearcache 73/58173/4
Sangyoon Jang [Thu, 28 Jan 2016 06:44:39 +0000 (15:44 +0900)]
Fix pkg_getsize, pkg_clearcache

argv[0] should be excutable path
adjust coding style

Change-Id: Id0de72d7fed19497d92c0e7919a360bdd15c9221
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRevise dependency on privilege-manager 48/57948/1 accepted/tizen/mobile/20160129.083403 accepted/tizen/tv/20160129.083424 accepted/tizen/wearable/20160129.083446 submit/devel/ivi/20160202.091821 submit/tizen/20160127.110348
Yunjin Lee [Tue, 26 Jan 2016 08:43:28 +0000 (17:43 +0900)]
Revise dependency on privilege-manager

Change-Id: Id21c8fc1a243acf5be4087004963cf218ce47eaf
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRemove short-option for global-mode. 14/57214/6
jongmyeongko [Mon, 18 Jan 2016 04:20:31 +0000 (13:20 +0900)]
Remove short-option for global-mode.

Instead, use long_option(--global).

The 'G' option has been used for debug-mode since tizen_2.4.
The SDK install/update/re-install the package with 'G' \
to support the debugging environment on demand.

Change-Id: I8f8afa8e3341af963852ee363d942788e2c858f2
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoapply new package command error codes 34/56334/1 accepted/tizen/mobile/20160108.010037 accepted/tizen/tv/20160108.010107 accepted/tizen/wearable/20160108.010135 submit/tizen/20160107.103810
jongmyeongko [Wed, 6 Jan 2016 08:29:22 +0000 (17:29 +0900)]
apply new package command error codes

dependency : https://review.tizen.org/gerrit/#/c/56333/

Change-Id: I554e321ee44c98a3c0440cfb128e51c36da48dfc
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agomodify spec file, change BuildRequires to Requries for unzip 79/54679/1
jongmyeongko [Thu, 17 Dec 2015 06:33:18 +0000 (15:33 +0900)]
modify spec file, change BuildRequires to Requries for unzip

Change-Id: I92036ea69d16fb900d8d5adcf2b58523e567858a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoConvert privileges for compatibility 22/54222/1 accepted/tizen/mobile/20151215.124514 accepted/tizen/tv/20151215.125219 accepted/tizen/wearable/20151215.125435 submit/tizen/20151215.081850 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Sangyoon Jang [Mon, 14 Dec 2015 07:58:37 +0000 (16:58 +0900)]
Convert privileges for compatibility

convert privileges for compatibility before security context
installation.
it also filters wrong privileges.

Change-Id: I22b03f6493e9b56122919d3a7512180643b74b36
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix crash issue from duplicated destory call. 82/52082/1 accepted/tizen/mobile/20151119.082113 accepted/tizen/tv/20151119.082132 accepted/tizen/wearable/20151119.082202 submit/tizen/20151119.071518
jongmyeongko [Thu, 19 Nov 2015 01:53:36 +0000 (10:53 +0900)]
fix crash issue from duplicated destory call.

Change-Id: Icd5a2d50c8ae7ee52b4fdbe3757dce8d61973bed
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agomerge 2.4 & fix errors for delta generation feature 96/51896/1
jongmyeongko [Tue, 17 Nov 2015 02:17:02 +0000 (11:17 +0900)]
merge 2.4 & fix errors for delta generation feature

Change-Id: I55636b07fcaa4d00408f2415dbdd01244ed0c0ac
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoimplement TEP install, update 79/50979/7 accepted/tizen/mobile/20151117.005610 accepted/tizen/tv/20151117.005626 accepted/tizen/wearable/20151117.005636 submit/tizen/20151116.110857
VBS [Tue, 3 Nov 2015 11:33:11 +0000 (20:33 +0900)]
implement TEP install, update

[app-installer][pkgmgr-info][pkgmgr-server][pkgmgr-tool][slp-pkgmgr]

Signed-off-by: VBS <jungh.yeon@samsung.com>
Change-Id: Ibc3978dd5e78fee5232f38d2e41099c2b4a8cb98

8 years agoseperate tool from slp-pkgmgr project 84/50484/1 accepted/tizen/mobile/20151031.105507 accepted/tizen/tv/20151031.110237 accepted/tizen/wearable/20151031.110515 submit/tizen/20151030.025053 submit/tizen/20151030.025235
jongmyeongko [Thu, 29 Oct 2015 07:27:54 +0000 (16:27 +0900)]
seperate tool from slp-pkgmgr project

this change is for preventing cyclic dependency.

Change-Id: I59cfc691218a592a8ba88497802de8993604538c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoInitial empty repository master
KyungMi Lee [Wed, 28 Oct 2015 05:01:33 +0000 (22:01 -0700)]
Initial empty repository