platform/core/appfw/pkgmgr-tool.git
6 years agoRelease version 0.4.3 31/156631/1 accepted/tizen/4.0/unified/20171019.235305 accepted/tizen/unified/20171020.091602 submit/tizen/20171019.074229 submit/tizen_4.0/20171019.074058 tizen_4.0.m2_release
Junghyun Yeon [Thu, 19 Oct 2017 07:33:45 +0000 (16:33 +0900)]
Release version 0.4.3

Changes:
 - Fix typo error

Change-Id: I1715899ed74f46dc7a31602f6f1c69a200761539
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix typo error 20/156620/1
Junghyun Yeon [Thu, 19 Oct 2017 07:19:41 +0000 (16:19 +0900)]
Fix typo error

Change-Id: I96f103d32c4b87122bdfc1676690a16cd5eaec85
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.4.2 07/156107/1 accepted/tizen/4.0/unified/20171018.060940 accepted/tizen/unified/20171018.062527 submit/tizen/20171017.074628 submit/tizen_4.0/20171017.080654
Junghyun Yeon [Tue, 17 Oct 2017 06:55:44 +0000 (15:55 +0900)]
Release version 0.4.2

Changes:
 - Add update start script

Change-Id: I7abc6d0a43f6b8a1475bd8a6e32e5946bf877cfd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdd update start script 23/155223/1
Junghyun Yeon [Thu, 12 Oct 2017 10:02:53 +0000 (19:02 +0900)]
Add update start script

- Pkgmgr db upgrade will be happened even if there are no platform update
  so seperate update initialization script from platform update script.

Change-Id: Ie847af1969c7ab65c766228b5a0c9729ad9f4ad2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.4.1 52/154952/1 accepted/tizen/unified/20171012.075137 submit/tizen/20171011.123741 submit/tizen_4.0/20171013.025647
Sangyoon Jang [Wed, 11 Oct 2017 12:32:23 +0000 (21:32 +0900)]
Release version 0.4.1

Changes:
 - Fix some static analyzer issues
 - Fix upgrade script

Change-Id: I75f7cc30e78c47eaadb68d676e6a35cd88953942
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix upgrade script 03/152603/6
Junghyun Yeon [Tue, 26 Sep 2017 11:53:30 +0000 (20:53 +0900)]
Fix upgrade script

- Invoke pkg_upgrade tool for updated RO packages
- Change schema of datacontrol table.
- Adjust order of inserting order of datacontrol table.

Change-Id: I218f79acbf89caab9f411b3b6173c6871a1b177c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix some static analyzer issues 34/154434/1
Semun Lee [Tue, 10 Oct 2017 07:53:05 +0000 (16:53 +0900)]
Fix some static analyzer issues

- fix resource leak
- check return value properly

Change-Id: I9c3ab936cb6c84dbb664a6c41c74f48f5dab5067
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRelease version 0.4.0 35/152435/1 accepted/tizen/4.0/unified/20170927.181738 accepted/tizen/unified/20170927.063509 submit/tizen/20170926.073829 submit/tizen_4.0/20170926.120510 tizen_4.0.IoT.p1_release
Junghyun Yeon [Tue, 26 Sep 2017 06:51:26 +0000 (15:51 +0900)]
Release version 0.4.0

Changes:
 - Fix realpath issue
 - Support debug mode for reinstall, mount install
 - Fix upgrade script

Change-Id: I11df87815627653f2e40fe20e62c7bb2e6fcc31f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix upgrade script 47/151747/5
Junghyun Yeon [Fri, 22 Sep 2017 01:13:34 +0000 (10:13 +0900)]
Fix upgrade script

- Fix wrong scripts to get latest db version properly.
- Remove usage of undefined variable.
- Add codes to migrate user db
- Add codes to migrate cert db

Change-Id: Iec8f5b670959dc984f623ed14e1662fed7c61ccd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoSupport debug mode for reinstall, mount install 01/151301/2
Semun Lee [Wed, 20 Sep 2017 10:30:41 +0000 (19:30 +0900)]
Support debug mode for reinstall, mount install

Change-Id: I5a54a6dec944415579c172e5d63bdcf57a27c662
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoFix realpath issue 10/151310/1
Semun Lee [Wed, 20 Sep 2017 10:53:03 +0000 (19:53 +0900)]
Fix realpath issue

realpath may cause buffer overflow by design.
This patch fixes to pass NULL for resolved path to make realpath safe.

Change-Id: I881726619ec14d8cbc4f7c47cf7e8d57d5a13af2
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRelease version 0.3.13 49/150249/1 accepted/tizen/4.0/unified/20170920.081432 submit/tizen/20170915.023525 submit/tizen_4.0/20170915.023947
Semun Lee [Fri, 15 Sep 2017 02:22:55 +0000 (11:22 +0900)]
Release version 0.3.13

Changes:
 - Fix bugs on upgrade script
 - fix coding rule error

Change-Id: I245d3d1763059ae540b69801d73e9c070ea7c5f9
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agofix coding rule error 68/149668/2
Youngjae Shin [Wed, 13 Sep 2017 01:44:19 +0000 (10:44 +0900)]
fix coding rule error

Change-Id: I86e3b7ba445367e0af3fa1bad8dfeedae92a6e36

6 years agoFix bugs on upgrade script 75/147275/2
Junghyun Yeon [Sun, 3 Sep 2017 23:39:01 +0000 (08:39 +0900)]
Fix bugs on upgrade script

- Signature file has removed by previous platform for security purpose
  so there are no way to determine privilege level while upgrading.
- So, now upgrade script will make file which stores root cert value
  each package and installer will retrieve it at runtime when there are
  no signature file to read.
- After migration, cert db will be migrated directly into pkg cert db.
- Remove chsmack in script.
- Now tpk related functions will handle rpm packages, too.

Change-Id: I2ec688c94876c903e82274a2eefd63290514578b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.3.12 82/148582/1 accepted/tizen/unified/20170911.155853 submit/tizen/20170908.075925
Junghyun Yeon [Fri, 8 Sep 2017 06:55:36 +0000 (15:55 +0900)]
Release version 0.3.12

Changes:
 - Fix pkgmgr migration script
 - Fix wrong option name

Change-Id: Icc0020463552431792cb911b731c951f8edc7698
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix upgrade script 33/144633/7
Junghyun Yeon [Thu, 17 Aug 2017 09:12:07 +0000 (18:12 +0900)]
Fix upgrade script

- Add updates directory to store actual upgrade script
- Previous upgrade scripts will determine current version and target version
  and execute proper upgrade script by right order
- Add codes for certificate migration to get dist root to determine privilege level
  because signature file has removed in previous platform for security purpose.
- Certificate values now will be inserted into cert db directly.
- Fix to not to remove shared/data and shared/cache

Change-Id: I52942990115b25d0db489bc4333e6560f978c018
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix upgrade script 74/144774/2
Junghyun Yeon [Fri, 18 Aug 2017 01:28:42 +0000 (10:28 +0900)]
Fix upgrade script

- Remove unused function
- Add function to remove files at previous location(/opt/usr/apps)
  after coping it to new location

Change-Id: I7a48df2d6c9a78aa6c8d0f4f7e8dbfdcabb3e829
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix wrong option name 98/144898/2
Sangyoon Jang [Fri, 18 Aug 2017 08:39:21 +0000 (17:39 +0900)]
Fix wrong option name

Change-Id: Ieb59d0a603230400f9b232f785cc5f2ab610e353
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix pkgmgr migration script 34/141034/9
Junghyun Yeon [Fri, 28 Jul 2017 01:46:43 +0000 (10:46 +0900)]
Fix pkgmgr migration script

- change to pkg_initdb handle only readonly packages
- seperate preload rw package and normal rw packages as seperate functions

Related changes:
[tpk-backend] : https://review.tizen.org/gerrit/#/c/141412/

Change-Id: I16d7aa4f43bf1acc27803a6a6ab79aba0b4941f7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.3.11 85/142485/1 accepted/tizen/4.0/unified/20170828.223727 accepted/tizen/unified/20170807.150544 submit/tizen/20170804.060432 submit/tizen_4.0/20170828.100002
Junghyun Yeon [Fri, 4 Aug 2017 05:45:19 +0000 (14:45 +0900)]
Release version 0.3.11

Changes:
 - Support move to extended

Change-Id: I7dac639bb1a67467e35bc59020d7cb7a8fe3f594
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoSupport move to extended 62/140562/3
Sangyoon Jang [Tue, 25 Jul 2017 10:24:08 +0000 (19:24 +0900)]
Support move to extended

Change-Id: Ibd99fb34a05bda84c44d20ca89b6ff14cba57e07
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.3.10 95/141595/1 accepted/tizen/4.0/unified/20170816.011338 accepted/tizen/4.0/unified/20170816.014703 accepted/tizen/unified/20170803.010453 submit/tizen/20170801.062239 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Sangyoon Jang [Tue, 1 Aug 2017 05:40:57 +0000 (14:40 +0900)]
Release version 0.3.10

Changes:
 - Fix code style
 - Skip checking reference when installing preload pkgs

Change-Id: Iac173e0899f1d0827a32acfe239d570fbcca2cc6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoSkip checking reference when installing preload pkgs 63/140463/3
Sangyoon Jang [Tue, 25 Jul 2017 05:59:13 +0000 (14:59 +0900)]
Skip checking reference when installing preload pkgs

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

Change-Id: I44eae5ac3c05fe14fe0bceb084bf1f3e06456515
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoFix code style 74/140474/1
Sangyoon Jang [Tue, 25 Jul 2017 06:14:10 +0000 (15:14 +0900)]
Fix code style

Change-Id: Ice9a07a1cbca9b2fec964a79184ceab6af9edc1e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoRelease version 0.3.9 57/136957/1 accepted/tizen/unified/20170706.193111 submit/tizen/20170704.014215 submit/tizen/20170705.015812 submit/tizen/20170707.024819
Sangyoon Jang [Tue, 4 Jul 2017 01:40:16 +0000 (10:40 +0900)]
Release version 0.3.9

Changes:
 - Fix build break

Change-Id: I73917bf9ff4ce78ea627ecd9a873bdc399307820
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoRevert "Add new error handling" 66/136766/2
Bartlomiej Kunikowski [Mon, 3 Jul 2017 06:29:55 +0000 (06:29 +0000)]
Revert "Add new error handling"

This reverts commit 36b92948c41e6f459a89488f6162abd78f69493d.

Change-Id: I5b70c9fe3580e2df303b0dffb7a14927b687914c

7 years agoRelease version 0.3.8 75/136475/1 submit/tizen/20170630.024412
Sangyoon Jang [Fri, 30 Jun 2017 02:09:59 +0000 (11:09 +0900)]
Release version 0.3.8

Changes:
 - Fix upgrade script

Change-Id: I1d93cb63643d449d84d23cae1b6c1d45858492bd
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoFix upgrade script 10/133810/6
Junghyun Yeon [Tue, 13 Jun 2017 10:47:19 +0000 (19:47 +0900)]
Fix upgrade script

- copy manifest of user tpk file to manifest location to be initialized
  by pkg_initdb
- get user wgt packages and invoke backend to be initialized
- Add initialization of restriction db

Change-Id: If92bfdd7346f5ce2e30e00c1d920b23a285ed993
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.3.7 31/133831/1 accepted/tizen/unified/20170629.085235 submit/tizen/20170614.015416
jongmyeongko [Tue, 13 Jun 2017 12:44:04 +0000 (21:44 +0900)]
Release version 0.3.7

Changes:
 - Change scripts

Change-Id: Ic1b6d46eae756459c5afda6c48e4f6d5ecccd9d8
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoChange scripts 61/131961/3
Junghyun Yeon [Wed, 31 May 2017 10:00:57 +0000 (19:00 +0900)]
Change scripts

- Remove scripts for pkg_initdb
- Add initial label change script

Change-Id: Ifcf7aceb5f08c10dc0658e3da29cae5ba21b9e08
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.3.6 26/132026/1 accepted/tizen/unified/20170607.063239 submit/tizen/20170531.235759
Junghyun Yeon [Thu, 1 Jun 2017 00:26:10 +0000 (09:26 +0900)]
Release version 0.3.6

Changes:
 - Fix bug on pkg_getsize

Change-Id: Ifa8aa46811ea2e2d69203597fd6899dd7922711a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix bug on pkg_getsize 48/129948/2
jongmyeongko [Thu, 18 May 2017 12:22:49 +0000 (21:22 +0900)]
Fix bug on pkg_getsize

- Signal for uid doesn't work

Change-Id: Iebdf076ec74c011b6c74582de7b7f4d1e3f62897
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRelease version 0.3.5 17/129617/1 accepted/tizen/unified/20170517.125630 submit/tizen/20170517.073353 tizen_4.0.m1_release
jongmyeongko [Wed, 17 May 2017 07:29:48 +0000 (16:29 +0900)]
Release version 0.3.5

Changes:
 - Modify calculation logic for data and cache

Change-Id: Ib6c7ddd6debbaadea36650e417ac9a1b2dd0f753
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoModify calculation logic for data and cache. 87/129587/1
jongmyeongko [Wed, 17 May 2017 05:25:56 +0000 (14:25 +0900)]
Modify calculation logic for data and cache.

Exclude the data or cache in the global directory from
the calculation of data or cache size.

Change-Id: I2830772de8046e6b8000624c9d0e3907fa7903da
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRelease version 0.3.4 17/126917/1 accepted/tizen/unified/20170428.033041 submit/tizen/20170425.040634 submit/tizen/20170427.131814
Junghyun Yeon [Tue, 25 Apr 2017 08:54:51 +0000 (17:54 +0900)]
Release version 0.3.4

Changes:
 - Fix bug about sdcard api
 - Fix cleardata tool
 - Apply taget_uid for GET_PKG_SIZE_INFO_REQ

Change-Id: Id1d1342afddb8af3bc6b0913512d672ae2830345
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoApply target_uid for GET_PKG_SIZE_INFO_REQ 67/126667/3
jongmyeongko [Mon, 24 Apr 2017 13:43:12 +0000 (22:43 +0900)]
Apply target_uid for GET_PKG_SIZE_INFO_REQ

In the root shell, target_uid is assumed as default user.
this is required for the valid calculation of RW directories.

Change-Id: Ia32d2651146afdff1bf7159d8e7ceee3a0982191
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix cleardata tool 63/126663/4
Junghyun Yeon [Mon, 6 Mar 2017 01:25:40 +0000 (10:25 +0900)]
Fix cleardata tool

- Fix to remove external data folder if exists
- Add some usage at help message

Change-Id: I308faac8988dfa31e1fffe7870896fcc3fee0ad8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
(cherry picked from commit 2d68017e46577fedcb51ce760c2f7bc71d7acd69)
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix the bug that local variable can't be assigned by sdcard api. 54/126654/2
jongmyeongko [Mon, 24 Apr 2017 12:16:46 +0000 (21:16 +0900)]
Fix the bug that local variable can't be assigned by sdcard api.

this can cause the crash issue when there is no sdcard.

Change-Id: Ie7608e6b26e29422eaee2e06c7f7daf54f2673b7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRelease version 0.3.3 67/125167/1 accepted/tizen/unified/20170414.163923 submit/tizen/20170414.043651
Sangyoon Jang [Fri, 14 Apr 2017 04:49:11 +0000 (13:49 +0900)]
Release version 0.3.3

Changes:
 - Fix bug on setting tep option

Change-Id: Ibfacd07e738144c8bfe34dd4bc5791b0cf14eaa3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix bug on setting tep option 46/124246/1
Sangyoon Jang [Tue, 11 Apr 2017 02:22:57 +0000 (11:22 +0900)]
Fix bug on setting tep option

Change-Id: I8a82b80651cbe1ddf9d826d3a10542f6f04afd96
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.3.2 02/123802/1 accepted/tizen/unified/20170407.190626 submit/tizen/20170407.042402
Sangyoon Jang [Fri, 7 Apr 2017 05:09:58 +0000 (14:09 +0900)]
Release version 0.3.2

Changes:
 - Fix app_size calculation
 - Fix static analyzer issues
 - Delete invalid labeling

Change-Id: Ic10fd9a00e8f163fd8077d60b13fe86ab33dea7f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoDelete invalid labeling 12/122112/2
jongmyeongko [Thu, 30 Mar 2017 07:47:54 +0000 (16:47 +0900)]
Delete invalid labeling

The label 'User::Home' for TZ_SYS_RW_PACKAGE is enough.

Change-Id: Ibae510e815b3d3db9205a9df25212ffb5c4e5349
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix static analyzer issue 31/122531/2
jongmyeongko [Mon, 3 Apr 2017 01:34:46 +0000 (10:34 +0900)]
Fix static analyzer issue

Change-Id: I2b98a24932342e94f245094e85940a84cf8361d3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit 1e26bf7bec3de727741ed36109dca3d140f6eac3)

7 years agoFix static analyzer issues 77/122477/1
Sangyoon Jang [Fri, 31 Mar 2017 12:09:56 +0000 (21:09 +0900)]
Fix static analyzer issues

Change-Id: I94f39bbc7c2721865ed868b496d7d633e9588c7a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
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>