platform/core/appfw/pkgmgr-tool.git
7 years agoFix app_size calculation 23/120923/1
jongmyeongko [Thu, 23 Mar 2017 12:33:36 +0000 (21:33 +0900)]
Fix app_size calculation

- Skip the mount point (.mmc, .pkg, tep/mount)
- Add external tep file

Change-Id: I4de49662e54c1c62e73df0135759c8d97296d962
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit 56fc473a0d0ce89006f7e128080fd2f8a64c69b6)

7 years agoRelease version 0.3.1 97/120897/3 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170324.170105 accepted/tizen/ivi/20170327.051931 accepted/tizen/mobile/20170327.051845 accepted/tizen/tv/20170327.051858 accepted/tizen/unified/20170327.051949 accepted/tizen/wearable/20170327.051914 submit/tizen/20170324.134900
Junghyun Yeon [Fri, 24 Mar 2017 13:33:42 +0000 (22:33 +0900)]
Release version 0.3.1

Changes:
 - Fix coding style issue
 - Fix cleardata tool
 - Use %license macro to copy license file
 - Add app2sd file as external app_size
 - Add new error handling

Change-Id: Ib8ae75ce417dab6defc6b96109c708b192d8448a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix coding style issue 01/120901/1
Junghyun Yeon [Fri, 24 Mar 2017 13:47:09 +0000 (22:47 +0900)]
Fix coding style issue

Change-Id: I2e87b6348c1712420e3bd1727559a728cf2c9291
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix cleardata tool send proper signal 96/120896/1
Junghyun Yeon [Fri, 24 Mar 2017 13:29:56 +0000 (22:29 +0900)]
Fix cleardata tool send proper signal

- Currently, clear tool send all signals to root user
- So fix it to send signal to given uid

Change-Id: Iace5bdbac00ea3d45c59ed8ba5343c533543df33
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoUse %license macro to copy license file 43/120443/1
Sangyoon Jang [Thu, 23 Mar 2017 02:17:29 +0000 (11:17 +0900)]
Use %license macro to copy license file

Change-Id: I9dfe3a0e2e0d960e292d9057b169ab4a5f7b4e00
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoAdd app2sd file as external app_size 40/120440/1
jongmyeongko [Wed, 22 Mar 2017 06:05:39 +0000 (15:05 +0900)]
Add app2sd file as external app_size

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

Change-Id: Idd2fd98c0f08377e34509a77181f6543e1d6129d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit 0c9ff45a261e8bdf0451baba5034050f2de8fd7a)

7 years agoAdd new error handling 14/118914/2
Bartlomiej [Tue, 14 Mar 2017 12:00:29 +0000 (13:00 +0100)]
Add new error handling

Submit together:
 - https://review.tizen.org/gerrit/#/c/118912/

Change-Id: I25c26ab877f8558f78554f6b5bec75cb7a26e6a7

7 years agoRelease version 0.3.0 37/117337/2 accepted/tizen/common/20170306.165223 accepted/tizen/ivi/20170307.050453 accepted/tizen/mobile/20170307.050323 accepted/tizen/tv/20170307.050401 accepted/tizen/unified/20170309.032719 accepted/tizen/wearable/20170307.050426 submit/tizen/20170306.070018 submit/tizen_unified/20170308.100406
jongmyeongko [Sat, 4 Mar 2017 08:52:20 +0000 (17:52 +0900)]
Release version 0.3.0

Changes:
 - Fix cleardata and getsize
 - Add some conditions for app disable/enable
 - Fix wrong path of pkg_getsize
 - Modify cert-info related logic of pkginfo
 - Fix static analysis issue
 - Fix usage of some pkgmgr client APIs

Change-Id: Idb00e8b3e051e4e5c696abcba4aa16a8e9813380
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix cleardata and getsize 06/117006/4
Junghyun Yeon [Thu, 2 Mar 2017 09:28:45 +0000 (18:28 +0900)]
Fix cleardata and getsize

- Remove hardcoded path
- Fix wrong path of pkg_cleardata
- Fix coding rule

Change-Id: I9044d376b97d9fe6d20f5af286fe60b2556b396e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd some conditions for app disable/enable 61/117061/1
Junghyun Yeon [Mon, 26 Dec 2016 11:42:42 +0000 (20:42 +0900)]
Add some conditions for app disable/enable

- Codes will check certain app is installed as global app or not
and call internal api with different target uid
- Add usage about enable/disable pkg/app at help message

Change-Id: Ic1353e0468d661b3e78f05bab3ca54c638dee0be
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix wrong path of pkg_getsize 36/116736/4
Junghyun Yeon [Tue, 28 Feb 2017 04:41:02 +0000 (13:41 +0900)]
Fix wrong path of pkg_getsize

Change-Id: I8bca864316b82ad83f774d006e38a5ae5e6ecc8d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoModify cert-info related logic of pkginfo 65/115165/5
jongmyeongko [Thu, 16 Feb 2017 13:12:10 +0000 (22:12 +0900)]
Modify cert-info related logic of pkginfo

- Privileged user process can handle cert-info.
- Actually, the user id is not neccessary to handle cert-info.
  Because, the cert-info database has unified concept and
  the pkgid/appid is globally unique.

Change-Id: I318d93638221b40004b2128d5287d5fb110ce545
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix static analysis issue 13/115113/1
Junghyun Yeon [Thu, 16 Feb 2017 08:12:37 +0000 (17:12 +0900)]
Fix static analysis issue

Change-Id: I7a5e52bdaaf5e1379c06aaca6f5363f709d04cbe
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix usage of some pkgmgr client APIs 39/114639/2
Junghyun Yeon [Tue, 14 Feb 2017 09:01:54 +0000 (18:01 +0900)]
Fix usage of some pkgmgr client APIs

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

Change-Id: I996ae05f1e9e6a545f71c19acd5fccd608be3089
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.2.0 70/113970/1 accepted/tizen/common/20170209.122557 accepted/tizen/ivi/20170210.004238 accepted/tizen/mobile/20170210.003950 accepted/tizen/tv/20170210.004038 accepted/tizen/wearable/20170210.004132 submit/tizen/20170209.083108
Sangyoon Jang [Thu, 9 Feb 2017 11:15:22 +0000 (20:15 +0900)]
Release version 0.2.0

Changes:
 - Remove unused versioning macro
 - Fix pkg_cleardata to clear shared/data, shared/trusted directory

Change-Id: Ifc0051d78e2dcb0bd20e2251505b1ee93b5f5f1a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoClear shared/data, shared/trusted directory 35/113535/1
Sangyoon Jang [Wed, 8 Feb 2017 05:41:58 +0000 (14:41 +0900)]
Clear shared/data, shared/trusted directory

Change-Id: I81f053bce77b22514b78d49ae526c7958cfbad4b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRemove unused versioning macro 95/110995/1
jongmyeongko [Thu, 19 Jan 2017 06:35:28 +0000 (15:35 +0900)]
Remove unused versioning macro

Change-Id: I97be8d154739f3f20544c4906676df4b06c86109
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoReplace 'readdir_r' with 'readdir' 85/110185/1 accepted/tizen/common/20170113.184248 accepted/tizen/ivi/20170115.221952 accepted/tizen/mobile/20170115.221905 accepted/tizen/tv/20170115.221921 accepted/tizen/wearable/20170115.221937 submit/tizen/20170113.080103
Inkyun Kil [Fri, 13 Jan 2017 07:22:13 +0000 (16:22 +0900)]
Replace 'readdir_r' with 'readdir'

- Fix build error for toolchain upgrade.
  This patch is intended to be missing from previous patch.

Change-Id: I4a766a3ad50e8e088649039fa84ff349d8e20e05
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoCalculate size of preloaded package together 07/109607/1 accepted/tizen/3.0/common/20170116.122612 accepted/tizen/3.0/ivi/20170114.000330 accepted/tizen/3.0/mobile/20170114.000237 accepted/tizen/3.0/tv/20170114.000258 accepted/tizen/3.0/wearable/20170114.000313 accepted/tizen/common/20170112.174522 accepted/tizen/ivi/20170112.222546 accepted/tizen/mobile/20170112.222437 accepted/tizen/tv/20170112.222502 accepted/tizen/wearable/20170112.222525 submit/tizen/20170112.013301 submit/tizen_3.0/20170113.111925
Sangyoon Jang [Wed, 11 Jan 2017 02:01:56 +0000 (11:01 +0900)]
Calculate size of preloaded package together

Change-Id: Id0f18ab05ec96f7068ba6c7e842696a0f515235c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoImplement app2sd migration script 20/108220/4 accepted/tizen/3.0/common/20170109.083953 accepted/tizen/3.0/ivi/20170106.095023 accepted/tizen/3.0/mobile/20170106.094843 accepted/tizen/3.0/tv/20170106.094923 accepted/tizen/3.0/wearable/20170106.094950 submit/tizen_3.0/20170105.051635
Junghyun Yeon [Tue, 3 Jan 2017 10:54:52 +0000 (19:54 +0900)]
Implement app2sd migration script

Change-Id: If5d4838d515c392abc97d9097c6a71cfb27a76e3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoSend clear cache signal 56/108356/3
Sangyoon Jang [Wed, 4 Jan 2017 06:33:29 +0000 (15:33 +0900)]
Send clear cache signal

Requires:
 - https://review.tizen.org/gerrit/108350

Change-Id: Ie3f21ad30721e5f54c862434054b26dc220eddc0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix to send signal to session bus 52/108352/4
Sangyoon Jang [Wed, 4 Jan 2017 06:29:34 +0000 (15:29 +0900)]
Fix to send signal to session bus

To send signal session bus, now pkg_cleardata should be run as app_fw user.

Submit together:
 - https://review.tizen.org/gerrit/108349

Change-Id: Ib6940db81539d9bd9eda73c4b9629892e72db0fd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix cleardata command-line interface 95/108295/4
Sangyoon Jang [Wed, 4 Jan 2017 04:07:36 +0000 (13:07 +0900)]
Fix cleardata command-line interface

Allow clear data and cache together.

Change-Id: I7c593abb4fa1f4be0929393a8b1c058f5cf33c6b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoReplace 'readdir_r' with 'readdir'
Inkyun Kil [Thu, 15 Dec 2016 04:30:03 +0000 (13:30 +0900)]
Replace 'readdir_r' with 'readdir'

'readdir_r' is deprecated since version 2.24 glibc.
By upgrading TOOLCHAIN for platform, it should be replaced by 'readdir'

Change-Id: I711318a6b12a237bc8c9ee9edc981c67e86dd331
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
7 years agoReplace pkg_clearcache into pkg_cleardata 85/106485/4 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.121709 accepted/tizen/3.0.m2/tv/20170104.122515 accepted/tizen/3.0.m2/wearable/20170104.122859 accepted/tizen/3.0/common/20161228.071555 accepted/tizen/3.0/ivi/20161226.030312 accepted/tizen/3.0/mobile/20161226.030150 accepted/tizen/3.0/tv/20161226.030217 accepted/tizen/3.0/wearable/20161226.030244 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161223.043050
Junghyun Yeon [Thu, 22 Dec 2016 01:20:10 +0000 (10:20 +0900)]
Replace pkg_clearcache into pkg_cleardata

- Replae pkg_clearcache into pkg_cleardata and it performs
clearing pkg's data, either.

Related changes:
[pkgmgr-server] : https://review.tizen.org/gerrit/106486
[app-installers] : https://review.tizen.org/gerrit/105691
[tpk-backend] : https://review.tizen.org/gerrit/106603
[wgt-backend] : https://review.tizen.org/gerrit/106601

Change-Id: I3db03e74edf659851e62e2412d2f6002809bd631
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix wrong size calculation 17/106617/2 accepted/tizen/3.0/common/20161227.101307 accepted/tizen/3.0/ivi/20161226.024755 accepted/tizen/3.0/mobile/20161226.024704 accepted/tizen/3.0/tv/20161226.024729 accepted/tizen/3.0/wearable/20161226.024742 submit/tizen_3.0/20161222.014602
jongmyeongko [Thu, 22 Dec 2016 07:52:37 +0000 (16:52 +0900)]
Fix wrong size calculation

The size of shared/cache should be calculated as cache_size.

Change-Id: I227baa858b9ecf8e470edcc95d345ac07a981f22
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoMerge "refactor getsize sync function" into tizen_3.0 accepted/tizen/3.0/common/20161227.101252 accepted/tizen/3.0/ivi/20161222.024832 accepted/tizen/3.0/mobile/20161222.024716 accepted/tizen/3.0/tv/20161222.024740 accepted/tizen/3.0/wearable/20161222.024809 submit/tizen_3.0/20161221.130430
jongmyeongko [Wed, 21 Dec 2016 12:11:08 +0000 (04:11 -0800)]
Merge "refactor getsize sync function" into tizen_3.0

7 years agoSupport activation with label-change. 07/106207/5
jongmyeongko [Wed, 21 Dec 2016 04:26:32 +0000 (13:26 +0900)]
Support activation with label-change.

Now, 'L' option is only for the test purpose.

usage:
(1) at fist, disable test app.
$pkgcmd -D -t tpk -n org.example.test (--global)
(2) next, enable with lable changed;
$pkgcmd -L new_label -t tpk -n org.example.test (--global)

Change-Id: I327aca8265d04ef89a16ee0e7c086032039c8843
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agorefactor getsize sync function 23/105823/4
jongmyeongko [Mon, 19 Dec 2016 14:09:09 +0000 (23:09 +0900)]
refactor getsize sync function

Submit with:
https://review.tizen.org/gerrit/#/c/105817/
https://review.tizen.org/gerrit/#/c/105823/
https://review.tizen.org/gerrit/#/c/105825/

Change-Id: Iab826b27fd931b8ebdbb3764ffede1c2ad6986bb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoChange upgrade script to call pkg_initdb with --partial-rw parameter 50/103450/3 accepted/tizen/3.0/common/20161212.060408 accepted/tizen/3.0/ivi/20161212.022800 accepted/tizen/3.0/mobile/20161212.022614 accepted/tizen/3.0/tv/20161212.022658 accepted/tizen/3.0/wearable/20161212.022730 submit/tizen_3.0/20161209.072525
Junghyun Yeon [Thu, 8 Dec 2016 10:16:59 +0000 (19:16 +0900)]
Change upgrade script to call pkg_initdb with --partial-rw parameter

Change-Id: I51d6255139fbf93edcb1793033549022e6ab8121
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoSupport debug mode installation 75/103175/1
Sangyoon Jang [Wed, 7 Dec 2016 11:46:58 +0000 (20:46 +0900)]
Support debug mode installation

Requires:
 - https://review.tizen.org/gerrit/103163

Change-Id: I16c371b84c7f5d86471a5a2b492d60c70f7e28c6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoChange pkg upgrade script 65/101265/10 accepted/tizen/3.0/common/20161207.194227 accepted/tizen/3.0/common/20161207.194738 accepted/tizen/3.0/ivi/20161207.010653 accepted/tizen/3.0/ivi/20161207.012952 accepted/tizen/3.0/mobile/20161207.010609 accepted/tizen/3.0/mobile/20161207.012900 accepted/tizen/3.0/tv/20161207.010622 accepted/tizen/3.0/tv/20161207.012916 accepted/tizen/3.0/wearable/20161207.010630 accepted/tizen/3.0/wearable/20161207.012933 submit/tizen_3.0/20161206.012225 submit/tizen_3.0/20161206.101358
Junghyun Yeon [Wed, 30 Nov 2016 13:01:08 +0000 (22:01 +0900)]
Change pkg upgrade script

Change-Id: Ie2b4ad7f5a50924d51a9d4622c0240657c44dfef
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoadd a script for cleaning app skel directory 69/96869/8 accepted/tizen/3.0/common/20161206.125843 accepted/tizen/3.0/ivi/20161206.000427 accepted/tizen/3.0/mobile/20161206.000315 accepted/tizen/3.0/tv/20161206.000345 accepted/tizen/3.0/wearable/20161206.000404 submit/tizen_3.0/20161205.120256
jongmyeongko [Thu, 10 Nov 2016 11:47:58 +0000 (20:47 +0900)]
add a script for cleaning app skel directory

Change-Id: I4b9f702f29eb72996ecb4be9fd4564dda0bad4d0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoChange function to enable uninstalling disabled pkg 89/100789/4 submit/tizen_3.0/20161205.053058 submit/tizen_3.0/20161206.025324
Junghyun Yeon [Tue, 29 Nov 2016 08:14:28 +0000 (17:14 +0900)]
Change function to enable uninstalling disabled pkg

Change-Id: Ia24cffa4bb7aeca6219ed984c810390fc29f626f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdjust to fix of installer error codes 12/101412/2
Sangyoon Jang [Thu, 1 Dec 2016 06:09:14 +0000 (15:09 +0900)]
Adjust to fix of installer error codes

Submit with:
 - https://review.tizen.org/gerrit/101411
 - https://review.tizen.org/gerrit/101409

Change-Id: I34988f139f697f28192dd36b98c5ab45181e145f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoextend all functionalities upto widget/watch app 64/100864/2 accepted/tizen/3.0/common/20161203.012209 accepted/tizen/3.0/ivi/20161201.075344 accepted/tizen/3.0/mobile/20161201.075148 accepted/tizen/3.0/tv/20161201.075230 accepted/tizen/3.0/wearable/20161201.075310 submit/tizen_3.0/20161130.132739 submit/tizen_3.0/20161201.024602
jongmyeongko [Tue, 29 Nov 2016 11:36:25 +0000 (20:36 +0900)]
extend all functionalities upto widget/watch app

Change-Id: Idea960a2f97d3767dcfe1670cb76b48ddc58877d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agomake it simple to use pkgmgrinfo apis 21/100321/4
jongmyeongko [Sun, 27 Nov 2016 09:40:17 +0000 (18:40 +0900)]
make it simple to use pkgmgrinfo apis

Change-Id: I964c631d1fd342eed64cbc4b977e9cac921d8e19
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoapply pkg_upgade tool 03/100303/8
jongmyeongko [Sat, 26 Nov 2016 00:28:11 +0000 (09:28 +0900)]
apply pkg_upgade tool

Requires :
https://review.tizen.org/gerrit/#/c/100323/

Change-Id: Idbf13436e2e7083d6cc0ad6721a7f3c82b95353e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix getsize tool 44/100544/1 accepted/tizen/3.0/common/20161129.102959 accepted/tizen/3.0/ivi/20161129.002017 accepted/tizen/3.0/mobile/20161129.001921 accepted/tizen/3.0/tv/20161129.001943 accepted/tizen/3.0/wearable/20161129.001955 submit/tizen_3.0/20161128.050643
Sangyoon Jang [Mon, 28 Nov 2016 10:44:19 +0000 (19:44 +0900)]
Fix getsize tool

Now getsize tool will run as app_fw user. (need CAP_DAC_READ_SEARCH)
Send user signal together.

Submit with:
 - https://review.tizen.org/gerrit/100542
 - https://review.tizen.org/gerrit/100543

Change-Id: If5f40fe615021bc1e379480b3cb2e094db1a89da
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoadd prelaod-rw installation to preload installation tool. 12/99012/4 accepted/tizen/3.0/common/20161125.101804 accepted/tizen/3.0/ivi/20161125.081944 accepted/tizen/3.0/mobile/20161125.081649 accepted/tizen/3.0/tv/20161125.081805 accepted/tizen/3.0/wearable/20161125.081908 submit/tizen_3.0/20161124.130849
jongmyeongko [Mon, 21 Nov 2016 12:02:31 +0000 (21:02 +0900)]
add prelaod-rw installation to preload installation tool.

Change-Id: I29a56bc8aa3fb66cb14831317d9a7e21761ef23c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix upgrade script 14/99914/1
Hwankyu Jhun [Thu, 24 Nov 2016 11:24:31 +0000 (20:24 +0900)]
Fix upgrade script

- Create user db path

Change-Id: Ib49cb1f3b7ce809cc2349897f08254f9c5cb6b1d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoremove debug output 51/97551/1 accepted/tizen/3.0/common/20161115.184739 accepted/tizen/3.0/ivi/20161114.235618 accepted/tizen/3.0/mobile/20161114.235523 accepted/tizen/3.0/tv/20161114.235542 accepted/tizen/3.0/wearable/20161114.235559 accepted/tizen/common/20161125.095328 accepted/tizen/ivi/20161125.004214 accepted/tizen/mobile/20161125.003711 accepted/tizen/tv/20161125.003931 accepted/tizen/wearable/20161125.004054 submit/tizen/20161124.000829 submit/tizen_3.0/20161114.123325
jongmyeongko [Mon, 14 Nov 2016 12:29:31 +0000 (21:29 +0900)]
remove debug output
- do not add debug output at the first line. it cause a problem when use sdb "install".

Change-Id: I0e2868f87a491fe992a842ec6b931119de7cafcb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRevert "Remove updating mime database" 46/97246/1 accepted/tizen/3.0/common/20161114.143318 accepted/tizen/3.0/ivi/20161114.002612 accepted/tizen/3.0/mobile/20161114.002452 accepted/tizen/3.0/tv/20161114.002516 accepted/tizen/3.0/wearable/20161114.002540 submit/tizen_3.0/20161111.080112 submit/tizen_3.0_common/20161114.081136
jongmyeong ko [Fri, 11 Nov 2016 13:33:10 +0000 (05:33 -0800)]
Revert "Remove updating mime database"

This reverts commit c5784032fe509958ea69e454e0c929fba331bc90.

Change-Id: I4e24c016f525645e3bdff6ad11ad2039322f2540
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoallow using pkgcmd from root shell. 06/96306/5
jongmyeongko [Tue, 8 Nov 2016 11:18:47 +0000 (20:18 +0900)]
allow using pkgcmd from root shell.

- if current user is root, then target_uid will be default user.
- if current user is non-root, then target_uid will be current user.
- --global option will work same in above two case.

Change-Id: I7ee0ed6d5cd0069bed387ea3d05cce7965dd413b
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoprint installed pkg list after first installation 97/96597/2
jongmyeongko [Wed, 9 Nov 2016 11:08:31 +0000 (20:08 +0900)]
print installed pkg list after first installation

Change-Id: I370b293381c94ea839b0f3ba5cf03720bf8fcdea
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoadd 'x' permission to pkgmgr.patch.sh and modify it for global only 45/95745/3 accepted/tizen/3.0/common/20161114.081328 accepted/tizen/3.0/ivi/20161110.015600 accepted/tizen/3.0/mobile/20161110.015350 accepted/tizen/3.0/tv/20161110.015439 accepted/tizen/3.0/wearable/20161110.015532 submit/tizen_3.0/20161107.133644 submit/tizen_3.0_common/20161110.084657
jongmyeongko [Fri, 4 Nov 2016 11:29:54 +0000 (20:29 +0900)]
add 'x' permission to pkgmgr.patch.sh and modify it for global only

Change-Id: I63664d4d5a5b302e5cb96e563ae8b74a311b1da6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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

7 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>