platform/core/appfw/pkgmgr-tool.git
8 years agoapply the temporary upgrade solution 46/95546/1
jongmyeongko [Thu, 3 Nov 2016 14:36:49 +0000 (23:36 +0900)]
apply the temporary upgrade solution

Change-Id: I46d14d6e4dc0efefdbf53a2a6199bd5d1e28f7db
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agosupport preload install for wgt pkg. 03/93703/2
jongmyeongko [Tue, 25 Oct 2016 10:12:59 +0000 (19:12 +0900)]
support preload install for wgt pkg.

Change-Id: I4e3abed6be5aa4578ab264503b509141e378c099
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoRemove updating mime database 50/93050/2
Sangyoon Jang [Thu, 20 Oct 2016 02:29:52 +0000 (11:29 +0900)]
Remove updating mime database

This will be moved to installer-app package.

Change-Id: I06e4ea64c030257441cd39c31b86a82d80c63d33
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoChange the access label of pkgcmd, pkginfo to User::Shell 53/90453/4 accepted/tizen/3.0/ivi/20161028.123058 accepted/tizen/3.0/mobile/20161028.122357 accepted/tizen/3.0/tv/20161028.122632 accepted/tizen/3.0/wearable/20161028.122854 accepted/tizen/common/20161011.154236 accepted/tizen/ivi/20161012.065003 accepted/tizen/mobile/20161012.064906 accepted/tizen/tv/20161012.064926 accepted/tizen/wearable/20161012.064944 submit/tizen/20161011.051336 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
jongmyeongko [Fri, 30 Sep 2016 06:26:51 +0000 (15:26 +0900)]
Change the access label of pkgcmd, pkginfo to User::Shell

Change-Id: I59294aad74fc6c8c3ad5f0f96954df9c8504edba
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd PATH environment at upgrade script 73/90473/1 accepted/tizen/3.0/ivi/20161011.062338 accepted/tizen/3.0/mobile/20161015.034152 accepted/tizen/3.0/tv/20161016.005745 accepted/tizen/3.0/wearable/20161015.083943 accepted/tizen/common/20161004.081101 accepted/tizen/ivi/20161004.232557 accepted/tizen/mobile/20161004.232516 accepted/tizen/tv/20161004.232529 accepted/tizen/wearable/20161004.232543 submit/tizen/20161004.045053 submit/tizen_3.0_ivi/20161010.000006 submit/tizen_3.0_mobile/20161015.000006 submit/tizen_3.0_tv/20161015.000005 submit/tizen_3.0_wearable/20161015.000005
Junghyun Yeon [Fri, 30 Sep 2016 07:57:26 +0000 (16:57 +0900)]
Add PATH environment at upgrade script

Change-Id: Ia68545090275f8821f313c619503749810ff1a45
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAdd --clear-all option to pkgcmd 24/89024/1
Piotr Dabrowski [Wed, 21 Sep 2016 12:07:14 +0000 (14:07 +0200)]
Add --clear-all option to pkgcmd

Usage:
  pkgcmd --clear-all
  pkgcmd --clear-all -t wgt
  pkgcmd --clear-all -t tpk

Change-Id: Idae766ed8b98f04efe4667cdba2f3fc232434430

8 years agoSeperate pkgmgr client for listen and request 71/88571/1 accepted/tizen/common/20160922.120315 accepted/tizen/ivi/20160922.233115 accepted/tizen/mobile/20160922.233049 accepted/tizen/tv/20160922.233109 accepted/tizen/wearable/20160922.233102 submit/tizen/20160922.003440
Junghyun Yeon [Tue, 20 Sep 2016 00:45:36 +0000 (09:45 +0900)]
Seperate pkgmgr client for listen and request

Change-Id: If7158a733a14b2d33e5c4e687d06a5b3d5b3cb6c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoImplement pkg db upgrade tool 27/83327/19 accepted/tizen/common/20160909.115110 accepted/tizen/ivi/20160909.122434 accepted/tizen/mobile/20160909.122340 accepted/tizen/tv/20160909.122357 accepted/tizen/wearable/20160909.122418 submit/tizen/20160909.054902 submit/tizen/20160909.060412
Junghyun Yeon [Wed, 10 Aug 2016 07:03:58 +0000 (16:03 +0900)]
Implement pkg db upgrade tool

Related changes
[app-installers] : https://review.tizen.org/gerrit/#/c/86789/
[tpk-backend] : https://review.tizen.org/gerrit/#/c/86846/
[wgt-backend] : https://review.tizen.org/gerrit/#/c/87472/

Change-Id: Ib285356186fc052436530731c7a322b74137b79d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAdd package_app_info.app_installed_storage filter at pkg_info 01/84501/3 accepted/tizen/common/20160829.140010 accepted/tizen/common/20160830.150136 accepted/tizen/ivi/20160830.061209 accepted/tizen/mobile/20160830.060932 accepted/tizen/tv/20160830.061037 accepted/tizen/wearable/20160830.061124 submit/tizen/20160829.010716 submit/tizen/20160830.010724
Junghyun Yeon [Fri, 19 Aug 2016 05:03:21 +0000 (14:03 +0900)]
Add package_app_info.app_installed_storage filter at pkg_info

Change-Id: I0abcba105bc5ef87f6c70599b0e33a424fa5e68d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoMove message buffer definition to c file 88/85388/1
Sangyoon Jang [Thu, 25 Aug 2016 02:03:12 +0000 (11:03 +0900)]
Move message buffer definition to c file

The change fixes build with -fno-common and enables Address Sanitizer.

Change-Id: I146d7c9052e92e86f133882e5c734f21c99a4ef1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd global symlink error handling to pkgcmd 36/84636/2
Tomasz Iwanek [Fri, 19 Aug 2016 14:59:33 +0000 (16:59 +0200)]
Add global symlink error handling to pkgcmd

Requires: https://review.tizen.org/gerrit/84635

Change-Id: Ifd8439ba2e678dfd0bba9a674ee75a9996bccced

8 years agoRemove unused csc codes 50/84350/2 accepted/tizen/common/20160823.132608 accepted/tizen/ivi/20160824.021614 accepted/tizen/mobile/20160824.021437 accepted/tizen/tv/20160824.021532 accepted/tizen/wearable/20160824.021640 submit/tizen/20160822.060113
Junghyun Yeon [Thu, 18 Aug 2016 06:58:27 +0000 (15:58 +0900)]
Remove unused csc codes

Related change
[slp-pkgmgr] : https://review.tizen.org/gerrit/#/c/84349/

Change-Id: I4e01e28777e516799b33cd2fc914b5bfdcd4cffa
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoremove not-support function 78/79978/4 accepted/tizen/common/20160809.183936 accepted/tizen/ivi/20160809.232612 accepted/tizen/mobile/20160809.232351 accepted/tizen/tv/20160809.232501 accepted/tizen/wearable/20160809.232707 submit/tizen/20160809.011327 submit/tizen/20160809.051427
jongmyeongko [Thu, 14 Jul 2016 00:33:07 +0000 (09:33 +0900)]
remove not-support function

Submit with:
https://review.tizen.org/gerrit/#/c/76806/

Change-Id: I09e260a35bdfa71a0d6f06e443bbfc6f754e789a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix coding rule 18/79618/2 accepted/tizen/common/20160803.193235 accepted/tizen/ivi/20160804.080808 accepted/tizen/mobile/20160804.080859 accepted/tizen/tv/20160804.080725 accepted/tizen/wearable/20160804.080606 submit/tizen/20160803.012753
Junghyun Yeon [Tue, 12 Jul 2016 05:10:41 +0000 (14:10 +0900)]
Fix coding rule

Change-Id: I940cde64906f58b631d966bd250acb07021cc479
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoImplement pkg enable/disable 16/78916/7 accepted/tizen/common/20160719.171909 accepted/tizen/ivi/20160718.104422 accepted/tizen/mobile/20160718.104307 accepted/tizen/tv/20160718.104241 accepted/tizen/wearable/20160718.104325 submit/tizen/20160718.020809
Junghyun Yeon [Thu, 7 Jul 2016 10:13:07 +0000 (19:13 +0900)]
Implement pkg enable/disable

Related changes
[slp-pkgmgr] https://review.tizen.org/gerrit/78917
[pkgmgr-server] https://review.tizen.org/gerrit/78918
[app-installers] https://review.tizen.org/gerrit/78919
[tpk-backend] https://review.tizen.org/gerrit/#/c/79070/

Change-Id: Ia3f1b3eb5dcdf85b2a761af7e42e71a44d42f401
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoDelete certinfo first when save certinfo 49/80149/1
Sangyoon Jang [Fri, 15 Jul 2016 02:37:24 +0000 (11:37 +0900)]
Delete certinfo first when save certinfo

Change-Id: I35f5dccda6620b699fde963c2cb8ee9563838f6c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agodisplay storage info from "pkgcmd -l" output. 03/78903/1
jongmyeongko [Thu, 7 Jul 2016 09:13:16 +0000 (18:13 +0900)]
display storage info from "pkgcmd -l" output.

Change-Id: I1bbbdc770d1f1775c402467a7027a029109b34d0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoapply new error code 21/77321/1 accepted/tizen/common/20160703.130830 accepted/tizen/ivi/20160701.034210 accepted/tizen/mobile/20160701.034343 accepted/tizen/tv/20160701.034110 accepted/tizen/wearable/20160701.034238 submit/tizen/20160630.141237 submit/tizen_common/20160701.180000
jongmyeongko [Wed, 29 Jun 2016 10:36:11 +0000 (19:36 +0900)]
apply new error code

Change-Id: Ie4fb57cc66bd8bb96fea4ca9ea8a5fd76f81d87a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoadd local PATH env. 18/77018/1 accepted/tizen/common/20160629.222513 accepted/tizen/ivi/20160629.020624 accepted/tizen/mobile/20160629.020705 accepted/tizen/tv/20160629.020604 accepted/tizen/wearable/20160629.020649 submit/tizen/20160628.070541
jongmyeongko [Tue, 28 Jun 2016 08:57:38 +0000 (17:57 +0900)]
add local PATH env.

Change-Id: I1e05d631b0af0dbfb1c1fa93e460a627f25ff49c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoClean up repository 28/76728/1 accepted/tizen/common/20160703.125829 accepted/tizen/ivi/20160629.015701 accepted/tizen/mobile/20160629.015620 accepted/tizen/tv/20160629.015748 accepted/tizen/wearable/20160629.015551 submit/tizen/20160627.042541
Sangyoon Jang [Mon, 27 Jun 2016 05:25:51 +0000 (14:25 +0900)]
Clean up repository

Remove unused files. (pkg_initdb)
Remove excutable bit from source file.

Change-Id: I6ee19dc01abc79c99606c3be782906add45401b9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix pkgcmd 53/75253/1 accepted/tizen/common/20160621.184544 accepted/tizen/ivi/20160622.093659 accepted/tizen/mobile/20160622.093549 accepted/tizen/tv/20160622.093618 accepted/tizen/wearable/20160622.093639 submit/tizen/20160621.063045
Sangyoon Jang [Fri, 17 Jun 2016 07:00:14 +0000 (16:00 +0900)]
Fix pkgcmd

pkgtype is not a mandatory option for install request

Change-Id: I1b41754ace0b6946df03a53c4a03c44d6725d820
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoset label to prevent execution by non-system application. 42/73942/1 accepted/tizen/common/20160616.151609 accepted/tizen/ivi/20160616.002916 accepted/tizen/mobile/20160616.002845 accepted/tizen/tv/20160616.002828 accepted/tizen/wearable/20160616.002757 submit/tizen/20160615.073423
jongmyeongko [Fri, 10 Jun 2016 06:50:15 +0000 (15:50 +0900)]
set label to prevent execution by non-system application.

Change-Id: Ia071ef3b93043a9d0e868c8597152b85c9e5fd9e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agochange process of move request to wait return value 04/72004/1 accepted/tizen/common/20160610.175907 accepted/tizen/ivi/20160609.091416 accepted/tizen/mobile/20160609.091550 accepted/tizen/tv/20160609.091353 accepted/tizen/wearable/20160609.091336 submit/tizen/20160609.010102
Junghyun Yeon [Mon, 30 May 2016 07:06:33 +0000 (16:06 +0900)]
change process of move request to wait return value

Change-Id: I782e6fad4d4586538f46c4671818b03a5e740ab2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoadd clearing cache for external storage. 30/71830/4 accepted/tizen/common/20160602.140105 accepted/tizen/ivi/20160602.022913 accepted/tizen/mobile/20160602.023045 accepted/tizen/tv/20160602.022626 accepted/tizen/wearable/20160602.022759 submit/tizen/20160531.024853
jongmyeongko [Fri, 27 May 2016 08:34:15 +0000 (17:34 +0900)]
add clearing cache for external storage.

Change-Id: I2f798d7f4b08d3e16f721dba61620b7e2b3d2541
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoadd getting pkg size of external storage. 92/71792/10
jongmyeongko [Fri, 27 May 2016 06:22:47 +0000 (15:22 +0900)]
add getting pkg size of external storage.

fix 'get_size' event signaling.

Change-Id: Idebb0f4e37c89828206e290a499615ca72cd7706
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoadd new option to get pkgsize for pkgcmd 28/71728/2
jongmyeongko [Fri, 27 May 2016 01:32:54 +0000 (10:32 +0900)]
add new option to get pkgsize for pkgcmd

new option calls api which is called by application.
fix the problem that the value of result_file for some request is always 0.

Change-Id: I30c0a0cc697a86e75bd8e3b88f56f1db43b2ada8
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd pkg rsc slice tool from tizen_2.4 97/70097/3 accepted/tizen/common/20160520.171030 accepted/tizen/ivi/20160520.081050 accepted/tizen/mobile/20160520.080912 accepted/tizen/tv/20160520.081008 accepted/tizen/wearable/20160520.080929 submit/tizen/20160520.002716
Junghyun Yeon [Wed, 18 May 2016 05:45:01 +0000 (14:45 +0900)]
Add pkg rsc slice tool from tizen_2.4

Migrate rsc-slice tool from tizen_2.4

Change-Id: Ibd4c2e335109086032ad41260f71fe9b122b6b57
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRemove features regarding blacklist 79/69879/1 accepted/tizen/common/20160518.125125 accepted/tizen/ivi/20160518.090808 accepted/tizen/mobile/20160518.090837 accepted/tizen/tv/20160518.090743 accepted/tizen/wearable/20160518.090729 submit/tizen/20160518.054712
Junghyun Yeon [Tue, 17 May 2016 07:11:05 +0000 (16:11 +0900)]
Remove features regarding blacklist

Change-Id: I22e28c980854146dd8957d7e2fb4685e6a77d619
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRemove pkg_initdb binary 09/64209/10 accepted/tizen/common/20160513.123201 accepted/tizen/common/20160513.123350 accepted/tizen/ivi/20160513.004716 accepted/tizen/mobile/20160513.004744 accepted/tizen/tv/20160513.004700 accepted/tizen/wearable/20160513.004634 submit/tizen/20160511.132536 submit/tizen/20160512.083806
Tomasz Iwanek [Wed, 30 Mar 2016 11:57:42 +0000 (13:57 +0200)]
Remove pkg_initdb binary

This binary is moved to app-installers with name "pkg_initdb".

Requires to be submitted with:
 - https://review.tizen.org/gerrit/64204

Change-Id: I4b2d6c2291ca3753492eede9c2ebdecb1dd5416f

8 years agoRemove preload tpk files after installation. 83/68883/3
jongmyeongko [Tue, 10 May 2016 02:51:16 +0000 (11:51 +0900)]
Remove preload tpk files after installation.

And, skip pkg_initdb if there is old db file.

Change-Id: Ie7f004bc30d3d5ee8d3ecd432e77f34056025cd7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix pkgmgr-create-delta.sh.in 96/68896/1
Tomasz Iwanek [Mon, 9 May 2016 15:41:21 +0000 (17:41 +0200)]
Fix pkgmgr-create-delta.sh.in

To verify, generated delta file from two version of widget:
 $ pkgcmd -X v1 -Y v2
and check that delta includes removed and added files.

Change-Id: Ic6d90018214f7b689d70b1cfb30fbdd3bc792cc2

8 years agoMount install option for pkgcmd 70/66570/5 accepted/tizen/common/20160505.140413 accepted/tizen/ivi/20160506.035743 accepted/tizen/mobile/20160506.035213 accepted/tizen/tv/20160506.035534 accepted/tizen/wearable/20160506.035633 submit/tizen/20160504.074553
Tomasz Iwanek [Mon, 18 Apr 2016 14:38:25 +0000 (16:38 +0200)]
Mount install option for pkgcmd

To verify, check that pkgcmd can run mount install request:
 $ pkgcmd -t wgt -w -p $package_path
 $ pkgcmd -t tpk -w -p $package_path

Requires:
 - https://review.tizen.org/gerrit/#/c/66569/

Change-Id: Iabcbe842a722fd042d96f04a1ed3cadd6dbd7f02

8 years agoFix dependency issue 92/66792/1 accepted/tizen/common/20160421.161705 accepted/tizen/ivi/20160421.064141 accepted/tizen/mobile/20160421.064054 accepted/tizen/tv/20160421.064107 accepted/tizen/wearable/20160421.064124 submit/tizen/20160421.054046 submit/tizen/20160425.022839
Junghyun Yeon [Thu, 21 Apr 2016 05:36:25 +0000 (14:36 +0900)]
Fix dependency issue

Change-Id: Iea14887ebe7a58705fc1c37ba7e5be252f52b4e1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRemove setuid bit from pkg_initdb 33/66533/2 accepted/tizen/common/20160421.161456 accepted/tizen/ivi/20160421.011300 accepted/tizen/mobile/20160421.011435 accepted/tizen/tv/20160421.011321 accepted/tizen/wearable/20160421.011327 submit/tizen/20160420.102539
Sangyoon Jang [Tue, 19 Apr 2016 09:51:34 +0000 (18:51 +0900)]
Remove setuid bit from pkg_initdb

setuid bit is no more needed.

Change-Id: I7619a7d6869abf27b64c669a6939be46d904fa46
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix build issue, cleanup dependency 14/66414/1
Sangyoon Jang [Tue, 19 Apr 2016 00:48:44 +0000 (09:48 +0900)]
Fix build issue, cleanup dependency

Change-Id: I8dfcfcfa1b0bd17f8e7098f291e9638bfdc0da0e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoimplement pkg move 21/64121/5 submit/tizen/20160418.112441
Junghyun Yeon [Wed, 30 Mar 2016 07:14:56 +0000 (16:14 +0900)]
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: I9735f22fc48d48e80979442a8d49e80663c5e6f6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix pkg_getsize 45/65345/1
Sangyoon Jang [Fri, 8 Apr 2016 12:45:33 +0000 (21:45 +0900)]
Fix pkg_getsize

Some directories size should be excluded.

Change-Id: Ic41f2537223ee83bb64114eb0676812b5138ad1f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoModify scripts to create proper delta package for wgt-backend 75/63575/5 accepted/tizen/common/20160406.144200 accepted/tizen/ivi/20160406.071943 accepted/tizen/mobile/20160406.071840 accepted/tizen/tv/20160406.071859 accepted/tizen/wearable/20160406.071920 submit/tizen/20160406.013051
Tomasz Iwanek [Thu, 24 Mar 2016 10:52:10 +0000 (11:52 +0100)]
Modify scripts to create proper delta package for wgt-backend

Always add "config.xml" and "tizen-manifest.xml" file to delta package.

Change-Id: Iae8f1fa193334de8993fdf6fce3da1b7422994b6

8 years agoUse thread-safe function 33/63833/1 accepted/tizen/common/20160329.050628 accepted/tizen/ivi/20160328.071339 accepted/tizen/mobile/20160328.071159 accepted/tizen/tv/20160328.071235 accepted/tizen/wearable/20160328.071310 submit/tizen/20160328.052318
Myungki Lee [Mon, 28 Mar 2016 05:04:34 +0000 (14:04 +0900)]
Use thread-safe function

Change-Id: If3d7bbff9d3e5e6466851a473300a6205d51ff65
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agochange functions for thread-safe 18/63718/1 accepted/tizen/ivi/20160325.134407 accepted/tizen/mobile/20160325.134317 accepted/tizen/tv/20160325.134254 accepted/tizen/wearable/20160325.134333 submit/tizen/20160325.105248
Junghyun Yeon [Fri, 25 Mar 2016 09:19:43 +0000 (18:19 +0900)]
change functions for thread-safe

Change-Id: I3838b267dda0cbbc82a444a389255412ddaf89b3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoadd watchapp for pkginfo 22/63322/2 accepted/tizen/common/20160324.084239 accepted/tizen/common/20160325.134926 accepted/tizen/ivi/20160324.131650 accepted/tizen/mobile/20160324.132924 accepted/tizen/tv/20160324.132745 accepted/tizen/wearable/20160324.132709 submit/tizen/20160323.065638 submit/tizen/20160323.235918
jongmyeongko [Wed, 23 Mar 2016 07:35:19 +0000 (16:35 +0900)]
add watchapp for pkginfo

Change-Id: Ic93ea2d96f8477d205bf1b83669b202ff79c0cbb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix coding style 57/63157/1
Sangyoon Jang [Tue, 22 Mar 2016 08:37:46 +0000 (17:37 +0900)]
Fix coding style

Change-Id: Ibb9d241adafabd1023a52880d304f6e4827d8416
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix wrong path for processing RW packages 45/62645/2 accepted/tizen/common/20160321.150453 accepted/tizen/ivi/20160322.023145 accepted/tizen/ivi/20160323.010809 accepted/tizen/mobile/20160321.113406 accepted/tizen/mobile/20160323.010715 accepted/tizen/tv/20160321.113424 accepted/tizen/tv/20160323.010735 accepted/tizen/wearable/20160321.113444 accepted/tizen/wearable/20160323.010754 submit/tizen/20160321.014821 submit/tizen/20160322.002805 submit/tizen_ivi/20160322.020156
jongmyeongko [Thu, 17 Mar 2016 08:08:16 +0000 (17:08 +0900)]
fix wrong path for processing RW packages

Change-Id: I79c15d790cb4cbffef94366fb6c7f0f41323c0a3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoMerge "handle postscrpt fail." into tizen
jongmyeongko [Mon, 21 Mar 2016 01:41:18 +0000 (18:41 -0700)]
Merge "handle postscrpt fail." into tizen

8 years agodo not support parsing and db-control via pkginfo. 75/62475/2
jongmyeongko [Wed, 16 Mar 2016 08:40:07 +0000 (17:40 +0900)]
do not support parsing and db-control via pkginfo.

Change-Id: I5acd2205ca77a4cd8b3ce7653e6fa0510410e2f0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agohandle postscrpt fail. 14/62314/4
jongmyeongko [Tue, 15 Mar 2016 10:16:12 +0000 (19:16 +0900)]
handle postscrpt fail.

Should be merged with:
https://review.tizen.org/gerrit/#/c/61686/

Change-Id: Ie025fbb28c96d979a794c6893067da732db98c3c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoMerge "Handle error case on execl failed" into tizen
Sangyoon Jang [Fri, 18 Mar 2016 08:06:48 +0000 (01:06 -0700)]
Merge "Handle error case on execl failed" into tizen

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 agochange functions for thread-safe 95/62295/2 accepted/tizen/common/20160321.145915 accepted/tizen/ivi/20160321.004614 accepted/tizen/mobile/20160321.004512 accepted/tizen/tv/20160321.004536 accepted/tizen/wearable/20160321.004555 submit/tizen/20160318.074817
Junghyun Yeon [Tue, 15 Mar 2016 08:39:51 +0000 (17:39 +0900)]
change functions for thread-safe

Change-Id: I5d512626df6b532914b5d9a548cfd16ef8846b54
Signed-off-by: Junghyun Yeon <jungh.yeon@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>
9 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>
9 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>
9 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

9 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>
9 years agoInitial empty repository master
KyungMi Lee [Wed, 28 Oct 2015 05:01:33 +0000 (22:01 -0700)]
Initial empty repository