platform/core/appfw/slp-pkgmgr.git
8 years agoadd new pkgcmd errors 22/76822/1
jongmyeongko [Mon, 27 Jun 2016 10:31:07 +0000 (19:31 +0900)]
add new pkgcmd errors

Change-Id: I436d7476f89bb58d028210d8538c3e565feeb361
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix style 45/72145/4 accepted/tizen/common/20160627.191600 accepted/tizen/ivi/20160624.063930 accepted/tizen/mobile/20160624.063513 accepted/tizen/tv/20160624.063551 accepted/tizen/wearable/20160624.063820 submit/tizen/20160623.103205
jongmyeongko [Tue, 31 May 2016 02:52:12 +0000 (11:52 +0900)]
fix style

Change-Id: I7c32da19d027896bba2588cbf7eaee47c19c1567
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoremove unused function 70/74970/1 accepted/tizen/common/20160620.163114 accepted/tizen/common/20160620.163202 accepted/tizen/ivi/20160617.083625 accepted/tizen/ivi/20160617.083716 accepted/tizen/mobile/20160617.083447 accepted/tizen/mobile/20160617.083837 accepted/tizen/tv/20160617.083314 accepted/tizen/tv/20160617.083607 accepted/tizen/wearable/20160617.083651 accepted/tizen/wearable/20160617.083919 submit/tizen/20160616.134250 submit/tizen/20160616.235341
Junghyun Yeon [Thu, 16 Jun 2016 07:32:29 +0000 (16:32 +0900)]
remove unused function

Change-Id: Id5f85eb750fc9979de96d8a753f2349317199b7e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix pkgmgr move API to get event callback 21/73621/3 accepted/tizen/common/20160613.144707 accepted/tizen/ivi/20160610.114457 accepted/tizen/mobile/20160610.114406 accepted/tizen/tv/20160610.114425 accepted/tizen/wearable/20160610.114443 submit/tizen/20160610.015635
Junghyun Yeon [Thu, 9 Jun 2016 02:19:14 +0000 (11:19 +0900)]
Fix pkgmgr move API to get event callback

- move function should receive signal to retrieve
current progress of job requested
- remove mode argument from move api for compatibility previous tizen version.
(actually, mode argument is not used)

changed should be applied with pkgmgr-server
https://review.tizen.org/gerrit/#/c/73622/

Change-Id: I914835ba95cc240ebe3aed06cc3f6217edb926ca
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoFix __get_signal_name 66/73466/1 accepted/tizen/common/20160610.175850 accepted/tizen/ivi/20160609.091406 accepted/tizen/mobile/20160609.091540 accepted/tizen/tv/20160609.091344 accepted/tizen/wearable/20160609.091317 submit/tizen/20160609.010102
Sangyoon Jang [Wed, 8 Jun 2016 08:08:17 +0000 (17:08 +0900)]
Fix __get_signal_name

Add cases: manifest direct install, mount install

Change-Id: I340a7628dd74d74bf8089a98283a01c319bf43ae
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix crash when event callback is not set 66/73166/2 accepted/tizen/common/20160607.194653 accepted/tizen/ivi/20160607.235245 accepted/tizen/ivi/20160607.235333 accepted/tizen/mobile/20160607.235228 accepted/tizen/mobile/20160607.235305 accepted/tizen/tv/20160607.235241 accepted/tizen/tv/20160607.235324 accepted/tizen/wearable/20160607.235233 accepted/tizen/wearable/20160607.235314 submit/tizen/20160607.081957 submit/tizen/20160607.082137
Sangyoon Jang [Tue, 7 Jun 2016 04:32:11 +0000 (13:32 +0900)]
Fix crash when event callback is not set

Change-Id: I660591bcfe8c30f62cd6c1700154d019d4e8c08e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoReorder parameters of function for consistency 92/70692/1 accepted/tizen/common/20160602.140044 accepted/tizen/ivi/20160602.022850 accepted/tizen/mobile/20160602.023022 accepted/tizen/tv/20160602.022551 accepted/tizen/wearable/20160602.022737 submit/tizen/20160531.024853
Junghyun Yeon [Fri, 20 May 2016 06:40:58 +0000 (15:40 +0900)]
Reorder parameters of function for consistency

reorder parameters for get_pkg_restrction_mode
for consistency with other functions

Change-Id: Ie12242e2861638ecbd286e36b8a72e0d260a24db
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoIntegrate blacklist and restrictiom mode 87/69587/8 submit/tizen/20160520.050106
Junghyun Yeon [Mon, 16 May 2016 04:32:52 +0000 (13:32 +0900)]
Integrate blacklist and restrictiom mode

Remove APIs related with pkg blacklist function
and Integrate into restriction mode

Related changes : pkgmgr-server
https://review.tizen.org/gerrit/#/c/69473/

Change-Id: I046a58850c41a442f3ae02b2b1478ef561ad0747
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoChanged dependency of pwdutils to /sbin/useradd 14/70614/2 accepted/tizen/common/20160523.143832 accepted/tizen/ivi/20160523.023843 accepted/tizen/mobile/20160523.023924 accepted/tizen/tv/20160523.023900 accepted/tizen/wearable/20160523.023910 submit/tizen/20160520.053329
changjoo.lee [Fri, 20 May 2016 01:07:31 +0000 (10:07 +0900)]
Changed dependency of pwdutils to /sbin/useradd

pwdutils may be replaced with shadow-utils

Change-Id: Ib070eb8ff330b8f90ba66b7e2dbc6b57da14a42a
Signed-off-by: changjoo.lee <changjoo.lee@samsung.com>
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoChange the owner of /etc/skel/apps_rw to tizenglobalapp 94/68294/3
Semun Lee [Tue, 3 May 2016 09:13:46 +0000 (18:13 +0900)]
Change the owner of /etc/skel/apps_rw to tizenglobalapp

app-installer that runs as tizenglobalapp will create
directories to /etc/skel/apps_rw for global applications

Change-Id: Iaa313ae496a84374ea5d07f083ddf981fa8b7d39
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agoImplement restriction mode api 06/68306/5
Sangyoon Jang [Tue, 3 May 2016 10:35:33 +0000 (19:35 +0900)]
Implement restriction mode api

Related patch:
 - https://review.tizen.org/gerrit/66938

Change-Id: I9d1edfa4ac20c6e2b543e0694eb27f5f459f7758
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agopkgmgr_client_usr_mount_install 69/66569/4 accepted/tizen/common/20160505.140351 accepted/tizen/ivi/20160506.035731 accepted/tizen/mobile/20160506.035155 accepted/tizen/tv/20160506.035523 accepted/tizen/wearable/20160506.035622 submit/tizen/20160504.074553
Tomasz Iwanek [Mon, 18 Apr 2016 14:45:05 +0000 (16:45 +0200)]
pkgmgr_client_usr_mount_install

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

Change-Id: Ia05f8efea9613a297568d6983a1528c8b0e43e1d

8 years agoAdd mount install option handling to pkgmgr_installer API 88/65788/3
Tomasz Iwanek [Tue, 12 Apr 2016 11:39:10 +0000 (13:39 +0200)]
Add mount install option handling to pkgmgr_installer API

Change-Id: Ie8b97d9fcbb1d33eacc142a7768766b8823b0e8d

8 years agoImplement app signal related with app splash screen display 62/65962/7 accepted/tizen/common/20160426.143114 accepted/tizen/ivi/20160425.231856 accepted/tizen/mobile/20160425.231844 accepted/tizen/tv/20160425.231816 accepted/tizen/wearable/20160425.231835 submit/tizen/20160425.083419
Hwankyu Jhun [Wed, 6 Apr 2016 06:08:21 +0000 (15:08 +0900)]
Implement app signal related with app splash screen display

Change-Id: Ib5923f6dfbd91488b7710b37bc47c00f423ee6ac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoimplement pkg move 22/64122/8 accepted/tizen/common/20160421.161500 accepted/tizen/common/20160425.144850 accepted/tizen/ivi/20160421.011303 accepted/tizen/mobile/20160421.011437 accepted/tizen/tv/20160421.011323 accepted/tizen/wearable/20160421.011330 submit/tizen/20160418.112441 submit/tizen/20160420.102539 submit/tizen/20160425.015839 submit/tizen/20160425.022839
Junghyun Yeon [Wed, 30 Mar 2016 07:14:40 +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: Ic2de3a2b690aafc78faeb78695862d3d181451de
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix pkgmgr.pc.in 89/66289/1
Sangyoon Jang [Mon, 18 Apr 2016 07:56:28 +0000 (16:56 +0900)]
Fix pkgmgr.pc.in

Remove wrong dependency(removed).

Change-Id: I11a3feebceac672ea1cb674581e0b3d2cd0da5b7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoReturn PKGMGR_R_EPRIV error when privilege denied 98/65698/1
Sangyoon Jang [Tue, 12 Apr 2016 06:53:15 +0000 (15:53 +0900)]
Return PKGMGR_R_EPRIV error when privilege denied

Change-Id: I3bc3a5432fdcb66f5f089eff0135f2cbed2905e7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoSource cleanup 71/65671/4
Sangyoon Jang [Tue, 12 Apr 2016 05:44:16 +0000 (14:44 +0900)]
Source cleanup

- comm_xxx(pkgmgr_installer_client.so) => merged at pkgmgr_client
- remove unused files
- don't install unnecessary files

Change-Id: Ia369bb621606437645673e2fea136ec9f59d18fb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoPass it's own uid when calling not 'usr' prefixed api 04/64904/2 accepted/tizen/common/20160411.130023 accepted/tizen/ivi/20160411.051425 accepted/tizen/mobile/20160411.051559 accepted/tizen/tv/20160411.051453 accepted/tizen/wearable/20160411.051548 submit/tizen/20160411.024425
Sangyoon Jang [Wed, 6 Apr 2016 06:17:30 +0000 (15:17 +0900)]
Pass it's own uid when calling not 'usr' prefixed api

If the caller is a regular user, pass it's own uid, but if the caller is
a non-regular user(root or system daemon), pass tizenglobalapp user's
uid.

Change-Id: I78d66ebb0e8521e185b97b8cdb53c7fb6de3622a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoimplement functions to used by capi-package-manager 77/64577/3 accepted/tizen/common/20160406.144151 accepted/tizen/ivi/20160406.071936 accepted/tizen/mobile/20160406.071830 accepted/tizen/tv/20160406.071852 accepted/tizen/wearable/20160406.071913 submit/tizen/20160406.013051
Junghyun Yeon [Mon, 4 Apr 2016 00:01:55 +0000 (09:01 +0900)]
implement functions to used by capi-package-manager
when unset event cb

Change-Id: I3589e878537a04b9bbea41f995f7e631e3a81002
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix build warning 00/64600/1 accepted/tizen/common/20160406.143406 accepted/tizen/ivi/20160406.012026 accepted/tizen/mobile/20160406.011855 accepted/tizen/tv/20160406.011945 accepted/tizen/wearable/20160406.012006 submit/tizen/20160405.001024
Myungki Lee [Mon, 4 Apr 2016 05:47:20 +0000 (14:47 +0900)]
Fix build warning

Change-Id: I65aa47edc825fbd5f6250eb55b8a9290c5d665df
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
8 years agoadd force-removal option for installer. 16/63116/3 accepted/tizen/common/20160323.184341 accepted/tizen/common/20160324.084223 accepted/tizen/ivi/20160324.131626 accepted/tizen/mobile/20160324.132909 accepted/tizen/tv/20160324.132732 accepted/tizen/wearable/20160324.132656 submit/tizen/20160323.020400 submit/tizen/20160323.235918
jongmyeongko [Tue, 22 Mar 2016 06:59:03 +0000 (15:59 +0900)]
add force-removal option for installer.

usage(root only):
tpk-backend -d {pkgid} --preload --force-remove

Change-Id: I0a8e9ddb787d3ae55cb9832ae3bf7918c97fa9fe
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoseperate app enable/disable signal parameter 41/62541/4 accepted/tizen/ivi/20160323.010801 accepted/tizen/mobile/20160323.010651 accepted/tizen/tv/20160323.010723 accepted/tizen/wearable/20160323.010743 submit/tizen/20160322.002805
Junghyun Yeon [Wed, 16 Mar 2016 11:53:09 +0000 (20:53 +0900)]
seperate app enable/disable signal parameter

Change-Id: Ie38784869255bf35679895f5f4f0f0e7432e878b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoredefine pkg queues 26/62926/2
Junghyun Yeon [Mon, 21 Mar 2016 06:21:38 +0000 (15:21 +0900)]
redefine pkg queues

Change-Id: Ieffcd2eb4c26f2d6f03dfda5dd12eeab3a21694b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoSend signal with target_uid instead of getuid() 75/62875/1
Sangyoon Jang [Mon, 21 Mar 2016 02:25:22 +0000 (11:25 +0900)]
Send signal with target_uid instead of getuid()

Change-Id: I9a27872c3fbafe9aebd406263c516b8898862a22
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix and add some prototype to suppress build warnings 91/61991/2 accepted/tizen/common/20160317.155414 accepted/tizen/ivi/20160315.001449 accepted/tizen/mobile/20160315.001402 accepted/tizen/tv/20160315.001412 accepted/tizen/wearable/20160315.001427 submit/tizen/20160314.031145 submit/tizen_common/20160316.154911
Junghyun Yeon [Sat, 12 Mar 2016 04:39:44 +0000 (13:39 +0900)]
fix and add some prototype to suppress build warnings

Change-Id: Ib62e03d5ac11ae4e9ed8c40014f6433d9fd94703
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years ago- change enum value of COMM_STATUS_BROADCAST_ALL 60/61960/2
Junghyun Yeon [Fri, 11 Mar 2016 11:46:18 +0000 (20:46 +0900)]
- change enum value of COMM_STATUS_BROADCAST_ALL
to cover enable/disable of app
- remove useless code

Change-Id: I7831215bbb64a55c116126606109aed8dd17a6b1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoadd missing declaration for tep related function. 14/61314/2
jongmyeongko [Mon, 7 Mar 2016 08:43:29 +0000 (17:43 +0900)]
add missing declaration for tep related function.

Change-Id: I5c129b59b69b7698a7fdae16e5238fb2370cf432
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agochanges to app signal work properly 73/60773/2 accepted/tizen/common/20160308.142757 accepted/tizen/ivi/20160309.004712 accepted/tizen/mobile/20160309.004616 accepted/tizen/tv/20160309.004633 accepted/tizen/wearable/20160309.004652 submit/tizen/20160308.025616
Junghyun Yeon [Wed, 2 Mar 2016 07:01:19 +0000 (16:01 +0900)]
changes to app signal work properly

Change-Id: Ie3fc60733b9bddeee92df09596145a85fec7afeb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoRemove sample backend code 11/60311/1 accepted/tizen/common/20160304.194334 accepted/tizen/ivi/20160303.093921 accepted/tizen/mobile/20160303.093807 accepted/tizen/tv/20160303.093831 accepted/tizen/wearable/20160303.093902 submit/tizen/20160303.064856
Sangyoon Jang [Thu, 25 Feb 2016 03:13:11 +0000 (12:13 +0900)]
Remove sample backend code

These codes are out-dated.

Change-Id: I65b798eecca2eac4db8606d1efeea34ff1693b30
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agofix build error that 'rpm' conflict with file from tpk-backend package 44/60244/2 accepted/tizen/common/20160301.120555 accepted/tizen/ivi/20160225.081530 accepted/tizen/mobile/20160225.081436 accepted/tizen/tv/20160225.081501 accepted/tizen/wearable/20160225.081515 submit/tizen/20160224.092304 submit/tizen/20160224.092603 submit/tizen_common/20160229.190608
jongmyeong ko [Wed, 24 Feb 2016 09:15:50 +0000 (01:15 -0800)]
fix build error that 'rpm' conflict with file from tpk-backend package

This reverts commit e416196f661ee7e34860993d802f70a4f423e2b0.

Change-Id: Icc47a52e6aed048c8c8f26c8a0dace0afaf1d327

8 years agoRevert "clear 'rpm' related code" 18/60118/2 submit/tizen/20160224.000443
jongmyeong ko [Tue, 23 Feb 2016 11:26:18 +0000 (03:26 -0800)]
Revert "clear 'rpm' related code"

This reverts commit c0a0d7ca6485f1fc9c70994bbf2e578f60cf5fc3.

Change-Id: Ife60abc72f9d6d31deb5ef3e636d9610ea9b649e

8 years agochange the name of optional_file argument to more common one. 74/60074/1
jongmyeongko [Tue, 23 Feb 2016 07:21:35 +0000 (16:21 +0900)]
change the name of optional_file argument to more common one.

Change-Id: Iad1f4ec4b021cbd33e91db8aa207c93780d20085
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoclear 'rpm' related code 31/59731/1 accepted/tizen/common/20160222.162127 accepted/tizen/ivi/20160222.011639 accepted/tizen/mobile/20160222.011434 accepted/tizen/tv/20160222.011515 accepted/tizen/wearable/20160222.011554 submit/tizen/20160219.102650 submit/tizen_common/20160222.141210
jongmyeongko [Thu, 18 Feb 2016 03:17:23 +0000 (12:17 +0900)]
clear 'rpm' related code

Change-Id: I4a7099ff8b62a6051d06aaf3bde8dc8e1b54eaea
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoadd 'preload' as long option 66/58866/6 accepted/tizen/common/20160217.170655 accepted/tizen/ivi/20160218.023300 accepted/tizen/mobile/20160205.064210 accepted/tizen/tv/20160205.064224 accepted/tizen/wearable/20160205.064244 submit/tizen/20160205.051501 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
jongmyeongko [Wed, 3 Feb 2016 12:33:05 +0000 (21:33 +0900)]
add 'preload' as long option

this option represents current request is for preload app.

Change-Id: Icdbb43bff3e716bea082bea6b51103276d774559
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoAdd define PKGMGR_INSTALLER_CLEAR_EVENT_STR 44/58244/2
Tomasz Iwanek [Thu, 28 Jan 2016 12:45:53 +0000 (13:45 +0100)]
Add define PKGMGR_INSTALLER_CLEAR_EVENT_STR

Change-Id: I377dc2e4a45f8d57302941d75911e96006ca5805

8 years agoImplement app signal related with app disable/enable 32/57832/8 accepted/tizen/mobile/20160202.114604 accepted/tizen/mobile/20160203.051928 accepted/tizen/tv/20160202.114652 accepted/tizen/tv/20160203.051945 accepted/tizen/wearable/20160202.114731 accepted/tizen/wearable/20160203.052014 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:15:11 +0000 (15:15 +0900)]
Implement app signal related with app disable/enable

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

Change-Id: I0e7af16a23329fd4f364e6d5932e8bc24d43ef0a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoFix getsize method call parameter 71/58171/1 accepted/tizen/mobile/20160201.042846 accepted/tizen/tv/20160201.042920 accepted/tizen/wearable/20160201.042934 submit/tizen/20160201.013807
Sangyoon Jang [Thu, 28 Jan 2016 06:42:39 +0000 (15:42 +0900)]
Fix getsize method call parameter

uid was missing

Change-Id: I493bc74144a732329fdc58c50e06dc0dd865deca
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd add/remove blacklist apis 27/57527/10
Sangyoon Jang [Thu, 21 Jan 2016 01:14:57 +0000 (10:14 +0900)]
Add add/remove blacklist apis

Change-Id: I40e3722ac18de46e260004851809651277987dc3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoremove unnecessary codes. 27/58027/1 accepted/tizen/mobile/20160129.083345 accepted/tizen/tv/20160129.083413 accepted/tizen/wearable/20160129.083435 submit/tizen/20160127.110348
jongmyeongko [Wed, 27 Jan 2016 02:24:48 +0000 (11:24 +0900)]
remove unnecessary codes.

Change-Id: If2e7343820977966ea680afe34f86be5c07d4e84
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agofix cppcheck warnings 87/57987/1
Pawel Sikorski [Tue, 26 Jan 2016 14:06:38 +0000 (15:06 +0100)]
fix cppcheck warnings

fixing some problems found by cppcheck

Change-Id: Idc8013419db9d9ca391e70750d30da4a1bc07f61

8 years agoIntroduce recovery option to pkgmgr_installer 16/45316/5
Tomasz Iwanek [Tue, 4 Aug 2015 11:54:47 +0000 (13:54 +0200)]
Introduce recovery option to pkgmgr_installer

Pkgmgr declares enum value for recovery installaton
but there is no way for backend to run with this option
as there is missing parsing in pkgmgr_installer_receive_request
which backend is supposed to use.

Adding processing -b option as PKGMGR_REQ_RECOVER in
pkgmgr_installer API.

Note: app-installers backends will expect invocation:
  backend -b /home/guest/apps_rw/recovery-%%%%%%
where file is recovery file generated by interrupted
installation process.

Even the pkgmgr doesn't implements recovery now.
App-installer needs any command line opton to run this mode
when launched from commandline.

Optional parameter of recovery mode is recovery file but if
pkgmgr will support recovery in future, it is supposed that
this may change. This is set in this form for now.

Change-Id: I970607adcb4465e93a84eb774a0d75504cd443d2

8 years agoMerge "Each user can enable/disable global app separately" into tizen accepted/tizen/mobile/20160122.031243 accepted/tizen/tv/20160122.031304 accepted/tizen/wearable/20160122.031321 submit/tizen/20160120.053637
Junghyun Yeon [Wed, 20 Jan 2016 05:21:29 +0000 (21:21 -0800)]
Merge "Each user can enable/disable global app separately" into tizen

8 years agoEach user can enable/disable global app separately 67/56867/3
Junghyun Yeon [Wed, 13 Jan 2016 08:18:26 +0000 (17:18 +0900)]
Each user can enable/disable global app separately

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

Change-Id: Id436a29fb2ba436e38adfac0427affcc1bccc47f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoMerge "Fix g_variant value to work kill/check command properly" into tizen accepted/tizen/mobile/20160115.005728 accepted/tizen/tv/20160115.005744 accepted/tizen/wearable/20160115.005801 submit/tizen/20160114.065240
Junghyun Yeon [Thu, 14 Jan 2016 06:51:14 +0000 (22:51 -0800)]
Merge "Fix g_variant value to work kill/check command properly" into tizen

8 years agoFix g_variant value to work kill/check command properly 68/56868/1
Junghyun Yeon [Wed, 13 Jan 2016 08:22:30 +0000 (17:22 +0900)]
Fix g_variant value to work kill/check command properly

Change-Id: I840dd34951760a3a836f88541b21672092f3bdbd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAdd extra constructor for pkgmgr_installer for offline mode 45/56245/3
Tomasz Iwanek [Tue, 5 Jan 2016 14:09:54 +0000 (15:09 +0100)]
Add extra constructor for pkgmgr_installer for offline mode

This API will be used by app-installer to install manifest
while creating tizen image. Dbus is not available in that case.

Change-Id: I49eaeee83153dd7d0941f31cfa58e0bfa44aa43f

8 years agoReduce number of arguments for PKGMGR_REQ_MANIFEST_DIRECT_INSTALL 44/56244/2 accepted/tizen/mobile/20160108.064849 accepted/tizen/tv/20160108.064909 accepted/tizen/wearable/20160108.064937 submit/tizen/20160108.020058
Tomasz Iwanek [Mon, 21 Dec 2015 13:49:35 +0000 (14:49 +0100)]
Reduce number of arguments for PKGMGR_REQ_MANIFEST_DIRECT_INSTALL

Only pkgid is needed.

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

Change-Id: Idf7cee0d476e5a193868833249ed43662166927c

8 years agonew package command error codes for 3.0 33/56333/2 accepted/tizen/mobile/20160108.010038 accepted/tizen/tv/20160108.010108 accepted/tizen/wearable/20160108.010136 submit/tizen/20160107.103810
jongmyeongko [Wed, 6 Jan 2016 07:43:52 +0000 (16:43 +0900)]
new package command error codes for 3.0

Change-Id: I63d144ff90b48b2834cccdc04b2f943112a3e8e1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoRevert "remove pwdutils dependency" 93/56093/1 accepted/tizen/mobile/20160104.224637 accepted/tizen/tv/20160104.224654 accepted/tizen/wearable/20160104.224709 submit/tizen/20160104.082530
jongmyeong ko [Mon, 4 Jan 2016 08:20:30 +0000 (00:20 -0800)]
Revert "remove pwdutils dependency"

This reverts commit 4d9ce8368e67228e103afb7b62a4f7f672848634.

Change-Id: I8811ed92e7a3b7374659c10d3ffa2c1ab539fc5d

8 years agoremove pwdutils dependency 70/55770/1 accepted/tizen/mobile/20151230.111927 accepted/tizen/tv/20151230.112004 accepted/tizen/wearable/20151230.112042 submit/tizen/20151229.075759
jongmyeongko [Tue, 29 Dec 2015 07:43:53 +0000 (16:43 +0900)]
remove pwdutils dependency

Change-Id: Icb76d70c4a3c71d6c0aeec801f79067b49c32fcd
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agomove header files from 'pkgmgr' package to devel pacakge. 98/54598/2 accepted/tizen/mobile/20151217.023205 accepted/tizen/tv/20151217.022723 accepted/tizen/wearable/20151217.022831 submit/tizen/20151216.112931 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
jongmyeongko [Wed, 16 Dec 2015 10:48:50 +0000 (19:48 +0900)]
move header files from 'pkgmgr' package to devel pacakge.

Change-Id: I64626b7474344016402015a78e961fef494e8e37
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoRemove unused variable 59/52959/2 accepted/tizen/mobile/20151201.031742 accepted/tizen/tv/20151201.031759 accepted/tizen/wearable/20151201.031824 submit/tizen/20151130.235340
Sangyoon Jang [Mon, 30 Nov 2015 08:30:40 +0000 (17:30 +0900)]
Remove unused variable

Change-Id: I3d7e18726d1850fca1cf79026e9455188708a892
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix pkgmgr_client_clear_cache_dir 58/52958/2
Sangyoon Jang [Mon, 30 Nov 2015 08:28:23 +0000 (17:28 +0900)]
Fix pkgmgr_client_clear_cache_dir

add missing input argument

Change-Id: Ida18176a379500277b3f08a80fcd034c0812ba23
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoAdd drm related apis 38/52738/2
Sangyoon Jang [Thu, 26 Nov 2015 10:19:18 +0000 (19:19 +0900)]
Add drm related apis

ADDED:
 pkgmgr_client_generate_license_request
 pkgmgr_client_register_license
 pkgmgr_client_decrypt_package

Change-Id: I92f97b457e04be5efae8e659ec052ad3d15d332b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoallows to add db information of manifest direct installed app 71/51871/4 accepted/tizen/mobile/20151130.094228 accepted/tizen/tv/20151130.094244 accepted/tizen/wearable/20151130.094304 submit/tizen/20151130.063415
Junghyun Yeon [Tue, 17 Nov 2015 01:08:12 +0000 (10:08 +0900)]
allows to add db information of manifest direct installed app

[app-installers][slp-pkgmgr]

Change-Id: Ib462d97bcf5b494a5bf947db1a7b29fd72a1aee7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoMerge "implement TEP install, update" into tizen accepted/tizen/mobile/20151117.005612 accepted/tizen/tv/20151117.005628 accepted/tizen/wearable/20151117.005638 submit/tizen/20151116.110857
VBS [Mon, 16 Nov 2015 11:06:18 +0000 (03:06 -0800)]
Merge "implement TEP install, update" into tizen

8 years agoimplement TEP install, update 78/50978/7
VBS [Tue, 3 Nov 2015 11:33:55 +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: Ia93fe112076574f9b1f10da10c9e565a29528160

9 years agoDo not create home directory for tizenglobalapp user 82/50982/1 accepted/tizen/mobile/20151104.082946 accepted/tizen/tv/20151104.082955 accepted/tizen/wearable/20151104.083009 submit/tizen/20151104.075600
Sangyoon Jang [Wed, 4 Nov 2015 07:49:16 +0000 (16:49 +0900)]
Do not create home directory for tizenglobalapp user

Change-Id: I5a3ee82d5e4c2abdd2f143c6545f9450fd305df1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd "pwdutils" as package requires 76/50776/1 accepted/tizen/mobile/20151102.112149 accepted/tizen/tv/20151102.112216 accepted/tizen/wearable/20151102.112235 submit/tizen/20151102.062750
Sangyoon Jang [Mon, 2 Nov 2015 06:16:15 +0000 (15:16 +0900)]
Add "pwdutils" as package requires

adduser tool is included at pwdutils package

Change-Id: I0fb7aeaa478708b7c3be1dde7fcfc9b3afb33378
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoseperate tool and server from slp-pkgmgr (for sync with tizen2.4) 03/50503/4 accepted/tizen/mobile/20151031.105508 accepted/tizen/tv/20151031.110238 accepted/tizen/wearable/20151031.110516 submit/tizen/20151030.025235
jongmyeongko [Thu, 29 Oct 2015 01:54:18 +0000 (10:54 +0900)]
seperate tool and server from slp-pkgmgr (for sync with tizen2.4)

to prevent cyclic dependency

Change-Id: Ibb3b820930b9be2d2496d597b76e7ab52f781e1a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
9 years agoCreate tizenglobalapp user at post script 47/50447/1 accepted/tizen/mobile/20151029.231450 accepted/tizen/tv/20151029.231459 accepted/tizen/wearable/20151029.231511 submit/tizen/20151029.113651
Sangyoon Jang [Thu, 29 Oct 2015 01:54:18 +0000 (10:54 +0900)]
Create tizenglobalapp user at post script

- create tizenglobalapp user
- remove chsmack command at post script
  (this should be at tizen-platform-config package)

Change-Id: Id5677d84a6a8ab7e7d562cd4bfe52562a8fcba86
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSet target uid on dbus method call 17/50317/1
Sangyoon Jang [Wed, 28 Oct 2015 02:09:30 +0000 (11:09 +0900)]
Set target uid on dbus method call

it is necessary to install global apps

TODO:
allow global app installation only for privileged user

Change-Id: Id08619fc3efe0cece086e51251b8d0d913e89ce3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkg_privilege, pkg_install_ug 86/49086/2 accepted/tizen/mobile/20151027.055536 accepted/tizen/tv/20151027.055541 accepted/tizen/wearable/20151027.055549 submit/tizen/20151027.011246
Sangyoon Jang [Tue, 6 Oct 2015 08:27:15 +0000 (17:27 +0900)]
Fix pkg_privilege, pkg_install_ug

the structure of package's attributes now uses GList instead of custom
linked list

Change-Id: I5f3b0257b2e2bebfcdb87b90c2e3e0732e144a0d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix intermittent crash 95/49695/2 accepted/tizen/mobile/20151020.015547 accepted/tizen/tv/20151020.015619 accepted/tizen/wearable/20151020.015629 submit/tizen/20151019.070113
Sangyoon Jang [Mon, 19 Oct 2015 06:26:52 +0000 (15:26 +0900)]
Fix intermittent crash

when fails on g_dbus_proxy_call_sync, the g_variant passed is released
automatically because it uses floating reference count.
so we should convert the g_variant to using normal reference count and
handle reference count manually.

Change-Id: I46b41c0d3f89eca3122a293a47e393b455c973e6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSet public, partner privilege when install preloaded packages 11/49611/2 accepted/tizen/mobile/20151016.043630 accepted/tizen/tv/20151016.043635 accepted/tizen/wearable/20151016.043640 submit/tizen/20151015.123553 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Sangyoon Jang [Thu, 15 Oct 2015 12:32:39 +0000 (21:32 +0900)]
Set public, partner privilege when install preloaded packages

platform privilege includes public and parnter privilege

Change-Id: I00515fff91fe31fc22bda5516a1350693f0196ff
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoSet default privilege when install preloaded packages 78/49578/5
Sangyoon Jang [Thu, 15 Oct 2015 10:01:21 +0000 (19:01 +0900)]
Set default privilege when install preloaded packages

set platform level temporarily
this tool will be merged to app-installer

Change-Id: Ic4f852a17216ce1437c66e8380745cdf4d97f04c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUse application_x instead of service/uiapplication_x 43/48943/1 accepted/tizen/mobile/20151005.055454 accepted/tizen/tv/20151005.055508 accepted/tizen/wearable/20151005.055524 submit/tizen/20151005.030714
Sangyoon Jang [Fri, 2 Oct 2015 02:44:53 +0000 (11:44 +0900)]
Use application_x instead of service/uiapplication_x

Change-Id: I5aa31a574048d335b8917f0657699efdf5df7dfa
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRemove pkgmgrinfo_pkginfo_get_package_size in pkg_info.c 42/48942/1
Sangyoon Jang [Fri, 2 Oct 2015 02:43:54 +0000 (11:43 +0900)]
Remove pkgmgrinfo_pkginfo_get_package_size in pkg_info.c

Change-Id: Ic02ab31c64a2901a63556b0e3abadecf6bfc3e8b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoCheck if the given package is accessible when install package 37/48837/2 accepted/tizen/mobile/20151001.000020 accepted/tizen/tv/20151001.000031 accepted/tizen/wearable/20151001.000035 submit/tizen/20150930.093226
Sangyoon Jang [Wed, 30 Sep 2015 10:26:37 +0000 (19:26 +0900)]
Check if the given package is accessible when install package

Change-Id: I332bf6748549c78fd4c59b38dd34529fc1a45561
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix install api 26/48826/1
Sangyoon Jang [Wed, 30 Sep 2015 08:29:53 +0000 (17:29 +0900)]
Fix install api

get pkg type of given pkg if the pkg_type is not passed

Change-Id: Ia161a393d1cac626b0e7a250b9bcea5c77f73b0f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix return value when the given package is not exist 07/48807/1 accepted/tizen/mobile/20150930.235933 accepted/tizen/tv/20150930.235942 accepted/tizen/wearable/20150930.235958 submit/tizen/20150930.070601
Sangyoon Jang [Wed, 30 Sep 2015 05:58:42 +0000 (14:58 +0900)]
Fix return value when the given package is not exist

should return error code of invalid parameter

Change-Id: I13bf87a8f9deabfe1ebd42c8821cabb8d9cc31e7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix clear cache 72/48572/1 accepted/tizen/mobile/20150925.012515 accepted/tizen/tv/20150925.012529 accepted/tizen/wearable/20150925.012543 submit/tizen/20150924.065914 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620
Sangyoon Jang [Wed, 23 Sep 2015 05:36:13 +0000 (14:36 +0900)]
Fix clear cache

fix return value of pkgmgr_client_usr_clear_cache_dir in case of invalid
parameter
fix dbus method parameter type of clear cache request

Change-Id: I70c1059c6661761497bada49423dc89bd6d575e1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix sending finished signal in pkg_getsize 68/48568/3
Sangyoon Jang [Wed, 23 Sep 2015 05:02:56 +0000 (14:02 +0900)]
Fix sending finished signal in pkg_getsize

Change-Id: Id4f8c8f129453498f56c4a825337abfb7f603479
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix return value of pkgmgr_client_get_size 67/48567/1
Sangyoon Jang [Wed, 23 Sep 2015 05:01:26 +0000 (14:01 +0900)]
Fix return value of pkgmgr_client_get_size

Change-Id: I43e2c7c7e8b5d81f86d7fd5939bfaf2a09dbc62d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRevise pkgmgr_installer_send_signal 85/48485/2
Sangyoon Jang [Tue, 22 Sep 2015 06:04:34 +0000 (15:04 +0900)]
Revise pkgmgr_installer_send_signal

fix PKGMGR_INSTALLER_UPGRADE_EVENT_STR to "update"
add PKGMGR_INSTALLER_APPID_KEY_STR
add PKGMGR_INSTALLER_ERROR_KEY_STR

Change-Id: Ie09e07c704645c75be446278f9bd28dd741f2ce1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix prevent issues 61/47461/9
Sangyoon Jang [Thu, 3 Sep 2015 11:29:40 +0000 (20:29 +0900)]
Fix prevent issues

fix resource leak
fix null pointer dereferences
fix using uninitialized value
fix control flow issues

Change-Id: I0ac1937f5e26ad6929465605830ca918ce578b52
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRevise client api 02/47402/10
Sangyoon Jang [Thu, 3 Sep 2015 06:23:42 +0000 (15:23 +0900)]
Revise client api

get request key from server, do not generate in client side
generate arguments for backend in server side
refine request type to handle client request by each type

Change-Id: Ifd93d5acbeb7a2beb911d8ec01f844bff7a7b6d4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoCheck privilege via dbus-daemon 31/47031/12
Sangyoon Jang [Thu, 27 Aug 2015 03:57:15 +0000 (12:57 +0900)]
Check privilege via dbus-daemon

split dbus method to each request type
set privileges to each dbus method

Change-Id: Iec515763f0b34baaf0aac8fee1e5098d272df656
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years ago[pkgmgr] implement sending key-value signal with appid-[actual_appid] for webAPI... 50/48250/1 accepted/tizen/mobile/20150918.024753 accepted/tizen/mobile/20150918.040322 accepted/tizen/tv/20150918.024809 accepted/tizen/tv/20150918.040334 accepted/tizen/wearable/20150918.024825 accepted/tizen/wearable/20150918.040347 submit/tizen/20150917.081152 submit/tizen/20150918.000000
Junghyun Yeon [Fri, 3 Jul 2015 07:50:05 +0000 (16:50 +0900)]
[pkgmgr] implement sending key-value signal with appid-[actual_appid] for webAPI support

Change-Id: Ic688bbba1ce1098a409ff368f2f9654d44904765
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
9 years agoCheck and make bin directory for ug packages 97/48097/3 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150914.123622 accepted/tizen/tv/20150914.123635 accepted/tizen/wearable/20150914.123645 submit/tizen/20150914.121938 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Sangyoon Jang [Mon, 14 Sep 2015 09:56:51 +0000 (18:56 +0900)]
Check and make bin directory for ug packages

Change-Id: Ic6a37a1bc5291d8bdc2a2f60a4b31d3a08324ead
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix get_size result file path 82/48082/2
Sangyoon Jang [Mon, 14 Sep 2015 06:59:05 +0000 (15:59 +0900)]
Fix get_size result file path

create result file at /tmp/pkgmgr/
set smack label to result file as "*"

note that this method(result to tmp file) will be changed later
(this is workaround)

Change-Id: I4cda27a0e3e06bcbe1a59d9e92d6b69b599884df
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoRetry when sending request failed 29/48029/6 accepted/tizen/mobile/20150911.145618 accepted/tizen/tv/20150911.145628 accepted/tizen/wearable/20150911.145642 submit/tizen/20150911.111131
Sangyoon Jang [Fri, 11 Sep 2015 08:40:56 +0000 (17:40 +0900)]
Retry when sending request failed

Change-Id: Ia6c1bb0a9b71745158f8e43edb9d8c5acf711480
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix crash at client api 31/47631/2 accepted/tizen/mobile/20150908.004322 accepted/tizen/tv/20150908.004338 accepted/tizen/wearable/20150908.004329 submit/tizen/20150907.123637
Sangyoon Jang [Mon, 7 Sep 2015 08:43:41 +0000 (17:43 +0900)]
Fix crash at client api

check the handle is null when error case

Change-Id: Iaffd67391dd8ca36bafb76399d227bad43ce92a4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix checking privilege 19/47619/2 accepted/tizen/mobile/20150907.123205 accepted/tizen/tv/20150907.123352 accepted/tizen/wearable/20150907.123544 submit/tizen/20150907.060924
Sangyoon Jang [Mon, 7 Sep 2015 05:53:46 +0000 (14:53 +0900)]
Fix checking privilege

fix input parameter order

Change-Id: Iffaeb985ce5d57136c234da9cdbdf01c9a7f884d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix labeling rule on preloaded pkgs 16/47616/3
Sangyoon Jang [Mon, 7 Sep 2015 05:34:04 +0000 (14:34 +0900)]
Fix labeling rule on preloaded pkgs

the rules which are same with private pkgs:
<pkgid>/ -> User::Home
<pkgid>/shared -> User::Home
<pkgid>/data -> User::Pkg::<pkgid>
<pkgid>/cache -> User::Pkg::<pkgid>
<pkgid>/(others) -> User::Pkg::<pkgid>::RO

Change-Id: I26bb1b27df408cc089ec50608d156e54a2bcb310
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoInstall smack rule even if fails to get app's root path 51/47551/2 accepted/tizen/mobile/20150904.140106 accepted/tizen/tv/20150904.140323 accepted/tizen/wearable/20150904.140424 submit/tizen/20150904.085212
Sangyoon Jang [Fri, 4 Sep 2015 11:31:20 +0000 (20:31 +0900)]
Install smack rule even if fails to get app's root path

some preload applications are not installed at /usr/apps/<pkgid>,
but we should install smack rules for these applications.
these application should fix their installation path

Change-Id: I2acb315004b157f3a8bd251f62068ffdec055d19
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix closing dbus connection 17/47517/2
Sangyoon Jang [Fri, 4 Sep 2015 07:03:46 +0000 (16:03 +0900)]
Fix closing dbus connection

the connection should be freed using g_object_unref

Change-Id: I6f742bf3ca57b493949272ee2120325b312a1913
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkg_privilege 66/47466/2 accepted/tizen/mobile/20150903.233624 accepted/tizen/tv/20150903.233644 accepted/tizen/wearable/20150903.233652 submit/tizen/20150903.141204
Sangyoon Jang [Thu, 3 Sep 2015 13:26:58 +0000 (22:26 +0900)]
Fix pkg_privilege

install for each applications in the package

Change-Id: I7bd20883844537fd5671c9e9556f98ef6a49ea89
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd build requires to dbus-glib-1 73/47373/2 accepted/tizen/mobile/20150903.053520 accepted/tizen/tv/20150903.053644 accepted/tizen/wearable/20150903.053731 submit/tizen/20150903.001243
Sangyoon Jang [Thu, 3 Sep 2015 02:20:36 +0000 (11:20 +0900)]
Add build requires to dbus-glib-1

this is temporary patch for build break (caused by sync-manager)
this should be removed

Change-Id: I2240c941bd97261945296fa85f5804c6351b7e6a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix path type to SECURTY_MANAGER_PATH_RO 69/47369/2
Sangyoon Jang [Thu, 3 Sep 2015 01:23:36 +0000 (10:23 +0900)]
Fix path type to SECURTY_MANAGER_PATH_RO

SECURTY_MANAGER_PATH_PRIVATE is no longer available

Change-Id: Ib3f66164d1d656f2efd3efc725d4e1aa5a0ea630
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoUse gdbus instead of dbus-glib 63/46763/6
Sangyoon Jang [Wed, 26 Aug 2015 01:41:13 +0000 (10:41 +0900)]
Use gdbus instead of dbus-glib

use gdbus at pkgmgr-server
use gdbus at pkgmgr-installer (sending signal)

TODO:
check privilege via dbus

Change-Id: I7892d1cd137f2f4ad9dc90439a47898fdf8b6d1d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkg_getsize, add checking clearcache privilege 75/46975/1 accepted/tizen/mobile/20150828.012429 accepted/tizen/tv/20150828.012456 accepted/tizen/wearable/20150828.012516 submit/tizen/20150827.124904
Sangyoon Jang [Thu, 27 Aug 2015 12:43:54 +0000 (21:43 +0900)]
Fix pkg_getsize, add checking clearcache privilege

send signal correctly in pkg_getsize
add handling clearcache request
add privilege for clear cache request

Change-Id: I9b3184ee04e7e5dfc9a50eee606bf48648e4d694
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix double free 99/46899/1
Sangyoon Jang [Thu, 27 Aug 2015 05:10:02 +0000 (14:10 +0900)]
Fix double free

Change-Id: Ib8871c2e103d4e1d3995ba39f3f4e5a011e7283d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoClean up repository, remove warnings 88/46488/4
Sangyoon Jang [Fri, 21 Aug 2015 05:35:37 +0000 (14:35 +0900)]
Clean up repository, remove warnings

remove ail, ail_vconf dependency
remove po files
remove unused tools
remove old apis:
  pkgmgr_get_pkg_list
  pkgmgr_info_new
  pkgmgr_info_new_from_file
  pkgmgr_info_get_string
  pkgmgr_info_free

Change-Id: I11fad0b2507f953b3ba6c30eeddc3b34fb40530e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoDon't try to kill running app on uninstall/move pkg 47/46547/2 accepted/tizen/mobile/20150824.134503 accepted/tizen/tv/20150824.134526 accepted/tizen/wearable/20150824.134535 submit/tizen/20150824.024939
Sangyoon Jang [Fri, 21 Aug 2015 11:25:30 +0000 (20:25 +0900)]
Don't try to kill running app on uninstall/move pkg

this should be done by installer

Change-Id: I520db7905b615e40cc5b9c77454d2873dd4421c3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoAdd filter prop for support-disable on pkg_info 38/46438/6
Sangyoon Jang [Thu, 20 Aug 2015 08:36:01 +0000 (17:36 +0900)]
Add filter prop for support-disable on pkg_info

Change-Id: I459d356c6116e9949418a4532c24e510d8a20415
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkg_getsize.c 15/46415/6
Sangyoon Jang [Thu, 20 Aug 2015 05:55:51 +0000 (14:55 +0900)]
Fix pkg_getsize.c

add comments on getsize_type enums
revise pkg_getsize.c
add req_key when launch pkg_getsize

Change-Id: I7be4db21449f15c80ec7e104d328b4389c56c093
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix recovery file path 21/46421/3
Sangyoon Jang [Thu, 20 Aug 2015 07:10:59 +0000 (16:10 +0900)]
Fix recovery file path

Change-Id: Ica59f3ef842414846e6108f0aa86ed1beacfc69d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
9 years agoFix pkg_privilege 45/46145/1 accepted/tizen/mobile/20150817.134152 accepted/tizen/tv/20150817.134535 accepted/tizen/wearable/20150817.134816 submit/tizen/20150817.084057
Sangyoon Jang [Mon, 17 Aug 2015 07:56:07 +0000 (16:56 +0900)]
Fix pkg_privilege

fix getting app root path
installer now creates directory as Tizen 2.3

Change-Id: Iacfde3ccd7811f7633bfcd80bdbed1a58dd067a2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>