platform/core/appfw/app-installers.git
7 years agoAdd allowed appid plugin in plugins_list 20/99220/2 accepted/tizen/3.0/common/20161124.181934 accepted/tizen/3.0/ivi/20161124.030503 accepted/tizen/3.0/mobile/20161124.030339 accepted/tizen/3.0/tv/20161124.030417 accepted/tizen/3.0/wearable/20161124.030441 accepted/tizen/common/20161125.095350 accepted/tizen/ivi/20161125.004217 accepted/tizen/mobile/20161125.003727 accepted/tizen/tv/20161125.003934 accepted/tizen/wearable/20161125.004057 submit/tizen/20161124.000829 submit/tizen_3.0/20161123.114701
Hwankyu Jhun [Tue, 22 Nov 2016 07:36:17 +0000 (16:36 +0900)]
Add allowed appid plugin in plugins_list

Change-Id: Ia0e8250a02b049aa0b6b76346b9da0a8fcbf9cb8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd routines for converting support-mode 46/98046/3
Junghyun Yeon [Wed, 16 Nov 2016 04:44:37 +0000 (13:44 +0900)]
Add routines for converting support-mode

- Add internal functions to be used to convert
  support-mode parsed from pkg's manifest

Related changes:
[pkgmgr-info]: https://review.tizen.org/gerrit/98045

Change-Id: Iae1de89f4e3c934019b3268aa8265ab444f2dc23
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdjust to privilege verification API change 84/98384/4 accepted/tizen/3.0/common/20161122.195116 accepted/tizen/3.0/ivi/20161122.075927 accepted/tizen/3.0/mobile/20161122.075833 accepted/tizen/3.0/tv/20161122.075852 accepted/tizen/3.0/wearable/20161122.075909 submit/tizen_3.0/20161121.042235
Sangyoon Jang [Thu, 17 Nov 2016 06:58:01 +0000 (15:58 +0900)]
Adjust to privilege verification API change

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

Change-Id: Ie9a2aef9da888adcfb634c32407e3389ee7c4fb8
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoImplement StepCheckInstallable 76/98476/2 accepted/tizen/3.0/common/20161118.193007 accepted/tizen/3.0/ivi/20161118.004152 accepted/tizen/3.0/mobile/20161118.004022 accepted/tizen/3.0/tv/20161118.004108 accepted/tizen/3.0/wearable/20161118.004132 submit/tizen_3.0/20161117.054138
Sangyoon Jang [Thu, 17 Nov 2016 06:16:25 +0000 (15:16 +0900)]
Implement StepCheckInstallable

The platform does not allow package override.
If the package installed as global package, the user cannot install the
package as local package. Likewise, if the package is installed as local
package, the package cannot be installed as global package.

Change-Id: I7f36c49b00a4d9445024af205387e3ebe6fb6962
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix CMakeLists.txt 25/98125/3
Sangyoon Jang [Wed, 16 Nov 2016 07:46:20 +0000 (16:46 +0900)]
Fix CMakeLists.txt

To make extendible for adding source & header files.

Change-Id: I75df264d02402ddd9c9292a16646d0946fd906a3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoImplement for support-mode 02/97702/3 accepted/tizen/3.0/common/20161116.143536 accepted/tizen/3.0/ivi/20161116.022246 accepted/tizen/3.0/mobile/20161116.022028 accepted/tizen/3.0/tv/20161116.022131 accepted/tizen/3.0/wearable/20161116.022211 submit/tizen_3.0/20161115.024443
Junghyun Yeon [Tue, 15 Nov 2016 02:38:19 +0000 (11:38 +0900)]
Implement for support-mode

Related changes:
[tpk-manifest-handlers] : https://review.tizen.org/gerrit/97699
[pkgmgr-info] : https://review.tizen.org/gerrit/97508/

Change-Id: I32f3ec5bc440782ad674fcb458c9c825629099ca
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoapply setting hybrid flag for security-manager 12/97512/1
jongmyeongko [Mon, 14 Nov 2016 10:27:34 +0000 (19:27 +0900)]
apply setting hybrid flag for security-manager

Change-Id: I6c861effe8632766c1659f160afa3dafc2daab52
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoAdd retry logic at calling gum api 36/97236/2 accepted/tizen/3.0/common/20161114.143408 accepted/tizen/3.0/ivi/20161114.002558 accepted/tizen/3.0/mobile/20161114.002435 accepted/tizen/3.0/tv/20161114.002508 accepted/tizen/3.0/wearable/20161114.002531 submit/tizen_3.0/20161111.080112 submit/tizen_3.0_common/20161114.081136
Sangyoon Jang [Fri, 11 Nov 2016 12:28:06 +0000 (21:28 +0900)]
Add retry logic at calling gum api

This is temporary fix. It should be removed.

Change-Id: Ibcb27a18f2c14c1d9126fb2dfeeac8697cb0d09e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoAdd aul-parser plugin lib in plugins_list 12/95912/5 submit/tizen/20161111.000844 submit/tizen/20161111.080541 submit/tizen_3.0/20161111.000156 submit/tizen_3.0/20161111.001102
Hwankyu Jhun [Mon, 7 Nov 2016 05:58:34 +0000 (14:58 +0900)]
Add aul-parser plugin lib in plugins_list

Change-Id: I91d22fc6683cde405fb75d691d4c0c84e2c3790f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix a bug in registering certificates 18/96118/3 accepted/tizen/3.0/common/20161114.081423 accepted/tizen/3.0/ivi/20161110.015547 accepted/tizen/3.0/mobile/20161110.015303 accepted/tizen/3.0/tv/20161110.015425 accepted/tizen/3.0/wearable/20161110.015516 submit/tizen_3.0/20161107.133644 submit/tizen_3.0_common/20161110.084657
Sangyoon Jang [Tue, 8 Nov 2016 02:11:25 +0000 (11:11 +0900)]
Fix a bug in registering certificates

Correct cert map, add missing certificate type.
Fix some namings.

Change-Id: I896e05a2392467b43b105ee946bdc01bd8761d46
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRefactoring 99/93299/2
Piotr Ganicz [Fri, 21 Oct 2016 11:11:53 +0000 (13:11 +0200)]
Refactoring

Change-Id: Ia18a60b030852dfba346c7bae092553e13ea0e87

7 years agoFixing rollback 36/88236/3
Tomasz Iwanek [Thu, 15 Sep 2016 09:36:49 +0000 (11:36 +0200)]
Fixing rollback

This patch should fix:
 1) Situation when backup files are not fully restored when
    file that has been backed up wasn't removed yet -> file
    is not restored (new flag: FS_MERGE_OVERWRITE)
 2) Situation when backup file was not fully copied and we
    restore broken copy (new flag: FS_COMMIT_COPY_FILE)

Submit together:
 - https://review.tizen.org/gerrit/88235
 - https://review.tizen.org/gerrit/88236

Change-Id: I269e6f95c5b3cab0a9b775cbf7b41bc74231bf3c

7 years agoReworking handling privileges for hybrid application 44/90544/6
Tomasz Iwanek [Thu, 29 Sep 2016 14:25:57 +0000 (16:25 +0200)]
Reworking handling privileges for hybrid application

This patch keeps single list of privileges (stored in
manifest_x) and filters privileges when registring
security rules of applications. Following changed:
 - generated platform manifest xml contains <privilege>
   tags with 'type' atttibute set to 'tpk' or 'wgt',
 - in case of absence of attribute, its default value
   is 'tpk',
 - manifest_x changes privilege type from GList of char*
   to GList of privilege_x. Structure named 'privilege_x'
   contain parsed privilege type,
 - although there is one privilege list, given the fact
   that privilege now have type, native and web privileges
   should be registered in native or web apps only.

Verification:
 - no regression in tpk/wgt smoke tests,
 - install hybrid app with native and web privileges
   and check generated manifest file for privileges,
 - install web app with privileges and check generated
   manifest file,
 - install web app without privileges and check generated
   manifest file -> default privileges should be added.

Submit together:
 - https://review.tizen.org/gerrit/#/c/90540/
 - https://review.tizen.org/gerrit/#/c/90543/
 - https://review.tizen.org/gerrit/#/c/90544/
 - https://review.tizen.org/gerrit/#/c/90546/
 - https://review.tizen.org/gerrit/#/c/90561/

Change-Id: I16a0ec57d48c615f58aa8bada27073fb26208298

7 years agoFix installer behavior 48/91948/3 accepted/tizen/3.0/ivi/20161102.075730 accepted/tizen/3.0/mobile/20161102.075524 accepted/tizen/3.0/tv/20161102.075628 accepted/tizen/3.0/wearable/20161102.075701 accepted/tizen/common/20161031.121650 accepted/tizen/ivi/20161031.082310 accepted/tizen/mobile/20161031.082152 accepted/tizen/tv/20161031.082231 accepted/tizen/wearable/20161031.082251 submit/tizen/20161031.010650 submit/tizen_3.0/20161102.051512
Junghyun Yeon [Wed, 12 Oct 2016 08:29:33 +0000 (17:29 +0900)]
Fix installer behavior

- Add routine which remove unnecessary file
- Change install location to internal when initialization
of external storage has failed, instead of install fail

Change-Id: Id4ae2ad3b06334770354fe991ab3531b451cd04f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoTemporary fix for hybrid pkg installation 85/92585/3 accepted/tizen/3.0/ivi/20161028.123108 accepted/tizen/3.0/mobile/20161028.122420 accepted/tizen/3.0/tv/20161028.122640 accepted/tizen/3.0/wearable/20161028.122906 accepted/tizen/common/20161017.170459 accepted/tizen/ivi/20161018.091315 accepted/tizen/mobile/20161018.091157 accepted/tizen/tv/20161018.091247 accepted/tizen/wearable/20161018.091301 submit/tizen/20161017.122727 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
Sangyoon Jang [Mon, 17 Oct 2016 11:51:42 +0000 (20:51 +0900)]
Temporary fix for hybrid pkg installation

Submit together:
 - https://review.tizen.org/gerrit/92582
 - https://review.tizen.org/gerrit/92583
 - https://review.tizen.org/gerrit/92584

Change-Id: I7c384edb28e298b6eb7484ee604a03bf686a6684
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoPatch reinstall/RDS according to SDK behaviour 32/91432/4 accepted/tizen/common/20161013.155640 accepted/tizen/ivi/20161014.074151 accepted/tizen/mobile/20161014.074046 accepted/tizen/tv/20161014.074110 accepted/tizen/wearable/20161014.074128 submit/tizen/20161012.122424
Tomasz Iwanek [Fri, 7 Oct 2016 07:52:36 +0000 (09:52 +0200)]
Patch reinstall/RDS according to SDK behaviour

Commit changes reinstall request argument. Now pkgid
is expected instead of path to directory. What is more,
if package manifest is not in the directory supplied by
reinstall/RDS then it will be copied from install location.

Application installer expects that SDK will put files into:
 - local installation:
   /home/$USERNAME/apps_rw/tmp/$PKGID/
 - global installation:
   /opt/apps/tmp/$PKGID/

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

Submit together:
 - https://review.tizen.org/gerrit/91430
 - https://review.tizen.org/gerrit/91431
 - https://review.tizen.org/gerrit/91432

Verification:
 - run smoke tests,
 - run reinstall from SDK,
 - run RDS from SDK.

Change-Id: I5194dd0a850a62b8712d75e62676c4ee9eebab9f

7 years agoDon't create mount path in StepMountUnpacked 40/90440/4
Sangyoon Jang [Fri, 30 Sep 2016 05:15:11 +0000 (14:15 +0900)]
Don't create mount path in StepMountUnpacked

Mount path will be created by deviced as a symlink.

Change-Id: Ibe2804a9abcc0491836f3115517db52d9a80d202
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix finding mainfest location 52/91352/1
Sangyoon Jang [Fri, 7 Oct 2016 06:16:06 +0000 (15:16 +0900)]
Fix finding mainfest location

This patch fixes issue when the installer try to find location of
installed manifest of global package.

Added pkgmgr query helper functions:
  QueryIsGlobalPackage, QueryIsPreloadPackage

Change-Id: I6284dfe61515b937fbcda234b978feba897a8221
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix AppQueryInterface 78/90478/8
Sangyoon Jang [Fri, 30 Sep 2016 08:06:02 +0000 (17:06 +0900)]
Fix AppQueryInterface

Make argv, argc are not needed.

Change-Id: I1c5a62b5a22a82d4a1d4101623e64bd14cef3a28
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix sending appid signal 24/91224/1 accepted/tizen/3.0/ivi/20161011.053605 accepted/tizen/3.0/mobile/20161015.032420 accepted/tizen/3.0/tv/20161016.003603 accepted/tizen/3.0/wearable/20161015.080425 accepted/tizen/common/20161006.153934 accepted/tizen/ivi/20161006.232910 accepted/tizen/mobile/20161006.232800 accepted/tizen/tv/20161006.232833 accepted/tizen/wearable/20161006.232856 submit/tizen/20161006.094717 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
Sangyoon Jang [Thu, 6 Oct 2016 09:43:13 +0000 (18:43 +0900)]
Fix sending appid signal

Send user signal together.

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

Change-Id: Ifa045948a025aef238fe6a674da26376b1b9c3df
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRemove unused parameter and related codes 29/90929/2
Junghyun Yeon [Wed, 5 Oct 2016 04:29:39 +0000 (13:29 +0900)]
Remove unused parameter and related codes

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

Change-Id: I515923cc827535e8c42d4dadadf7149a87b98224
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoCoding style 55/90555/1
Piotr Ganicz [Fri, 30 Sep 2016 09:18:06 +0000 (11:18 +0200)]
Coding style

Change-Id: I629d463d84b8834d7824d8c995bf36f7efa00d17

7 years agoRemove unused parameter 09/90009/3 accepted/tizen/common/20160928.163808 accepted/tizen/ivi/20160929.080906 accepted/tizen/mobile/20160929.080815 accepted/tizen/tv/20160929.080849 accepted/tizen/wearable/20160929.080837 submit/tizen/20160928.040222
Junghyun Yeon [Wed, 28 Sep 2016 04:52:26 +0000 (13:52 +0900)]
Remove unused parameter

Change-Id: If497955cbd55ed8b7b09835dca4d5f9d242e55c6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoSupport legacy content directory path 38/90038/2
Sangyoon Jang [Wed, 28 Sep 2016 06:05:36 +0000 (15:05 +0900)]
Support legacy content directory path

The installer cannot access properly at legacy content directory
because this path is a mount point for TZ_USER_CONTENT and seperated by
namespace.

Change-Id: I87a0c6671c2f539b34beee6fa3f685399c984f01
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix possible nullptr issue 57/89957/1
Junghyun Yeon [Wed, 28 Sep 2016 01:54:09 +0000 (10:54 +0900)]
Fix possible nullptr issue

- GError will be set if GDBusConnection is null,
according to reference guide docs.
- 'or' should be change into 'and' to resolve static analysis
problem.

Change-Id: I82ece65c0b8eb74a69ca2cd540cc72860c11720d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoMake method virtual for extending StepCheckSignature 85/89685/2
Tomasz Iwanek [Mon, 26 Sep 2016 08:52:13 +0000 (10:52 +0200)]
Make method virtual for extending StepCheckSignature

Change-Id: I15133f35e8e5f6bab2bc52375064f378b42ad52b

7 years agoAdd tts-engine-parser, stt-engine-parser to list 52/89852/1 accepted/tizen/common/20160927.152737 accepted/tizen/ivi/20160929.001608 accepted/tizen/mobile/20160929.001447 accepted/tizen/tv/20160929.001631 accepted/tizen/wearable/20160929.001541 submit/tizen/20160927.073302
Sangyoon Jang [Tue, 27 Sep 2016 07:49:47 +0000 (16:49 +0900)]
Add tts-engine-parser, stt-engine-parser to list

Change-Id: Iee8504716fc3cfe1f4ee2a6eba8fc4f69707e2c1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRemove unnecessary error message in RDS and Recovery modes 02/89302/1
Piotr Dabrowski [Thu, 22 Sep 2016 13:34:03 +0000 (15:34 +0200)]
Remove unnecessary error message in RDS and Recovery modes

Error:
file_util.cc:376:
Failed to open the source dir: /opt/usr/home/owner/apps_rw/...

This condition is not an error but a test in certain situations,
i.e. RDS and Recovery modes.

Change-Id: I2f21925d6e43e9a546873ef99308ee3ab43d1e57

7 years agoRemoving TODO that was done 02/88302/4 accepted/tizen/common/20160920.131800 accepted/tizen/ivi/20160920.231554 accepted/tizen/mobile/20160920.231432 accepted/tizen/tv/20160920.231517 accepted/tizen/wearable/20160920.231534 submit/tizen/20160920.011443
Tomasz Iwanek [Fri, 16 Sep 2016 08:26:26 +0000 (10:26 +0200)]
Removing TODO that was done

Fixed in:
 - 08b5fdedd010e5dfa432fa1304670390f4e45a29

Change-Id: I160fc75c08c22b1447c1ea46338de4abfcdfbaa5

7 years agoremove the profile macro in the spec file. it's not used. 56/88456/1
jongmyeongko [Mon, 19 Sep 2016 07:41:24 +0000 (16:41 +0900)]
remove the profile macro in the spec file. it's not used.

Change-Id: I8cb16da9d6b49bfc0fa2ccc6aa52e2c64713ce61
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoAdd app type handler for widget-application 15/87715/2
Junghoon Park [Fri, 9 Sep 2016 07:33:42 +0000 (16:33 +0900)]
Add app type handler for widget-application

- require : https://review.tizen.org/gerrit/#/c/87713/

Change-Id: I13f30ec983a6cc2fa03eaf8ada0fc383a10cda3c
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoUnittests for pkgmgr plugins management code 10/88010/1
Tomasz Iwanek [Fri, 9 Sep 2016 08:13:44 +0000 (10:13 +0200)]
Unittests for pkgmgr plugins management code

Run new tests:
 $ /usr/bin/app-installers-ut/plugins_unittest

This test requires several helper libraries to test
if plugins are called in correct way. Commit implements
3 test plugins and test assessor library. Test assessor
library is used by plugins and test code to set and get
results of plugin execution.

Change-Id: Idc30b953d6e5453c0e8fde94e1eea6d691225ea3

7 years agoCRTP singleton 53/87853/2
Tomasz Iwanek [Fri, 9 Sep 2016 12:35:49 +0000 (14:35 +0200)]
CRTP singleton

Singletons are vicious brainless test-resilient beasts.
Don't use this header unless it is really justified.

This header will be used in following changes for test
library to control execution of pkgmgr plugin while
testing. Assessor class will be required to exist only
once.

Change-Id: Ia608bfcd5fbb831a649e468e83970ff4e58a73ca

7 years agoAdjustment in pkgmgr plugin code 52/87852/2
Tomasz Iwanek [Fri, 9 Sep 2016 12:35:02 +0000 (14:35 +0200)]
Adjustment in pkgmgr plugin code

Run testcases from next changes.

Change-Id: I143cfc1955b478e2eff3c80eb949cc580e01f046

7 years agoStep recovery change owner 95/87795/5
Bartlomiej Kunikowski [Fri, 9 Sep 2016 08:38:27 +0000 (10:38 +0200)]
Step recovery change owner

Needed to correct setting ownership of files in recovery mode

Change-Id: I11a8034d1089e2671db5928123121b2895e8ffc5

7 years agoFix rollback of mount update request 93/87493/4
Tomasz Iwanek [Thu, 8 Sep 2016 08:10:48 +0000 (10:10 +0200)]
Fix rollback of mount update request

Rollback operation for mount update should just unmount new content
and restore old zip file to right location.

Check with smoke tests from: https://review.tizen.org/gerrit/#/c/87494/

Change-Id: I6c6d664d3a015919b9d5e67356ee4685b53f65e0

7 years agoFix coding style in user_util.cc 62/87662/2
Sangyoon Jang [Fri, 9 Sep 2016 04:52:44 +0000 (13:52 +0900)]
Fix coding style in user_util.cc

Change-Id: I1df1c801b3fb260ded801d7534acf896034d2a2a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix null pointer dereference issue 59/87659/5
Sangyoon Jang [Fri, 9 Sep 2016 04:48:30 +0000 (13:48 +0900)]
Fix null pointer dereference issue

Change-Id: I4832409e95a1766eae921917cf4910bb5ca00981
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoAdd return ok statement 77/87677/1 accepted/tizen/common/20160909.115052 accepted/tizen/ivi/20160909.122425 accepted/tizen/mobile/20160909.122331 accepted/tizen/tv/20160909.122348 accepted/tizen/wearable/20160909.122407 submit/tizen/20160909.060412
Junghyun Yeon [Fri, 9 Sep 2016 05:54:21 +0000 (14:54 +0900)]
Add return ok statement

Change-Id: I9d4f916f5c775c757a6d39eac47096c9fbce6c27
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix for platform upgrade 89/86789/11
Junghyun Yeon [Mon, 5 Sep 2016 02:02:33 +0000 (11:02 +0900)]
Fix for platform upgrade

Related changes
[pkgmgr-tool] : https://review.tizen.org/gerrit/#/c/83327/
[tpk-backend] : https://review.tizen.org/gerrit/#/c/86846/
[wgt-backend] : https://review.tizen.org/gerrit/#/c/87472/

Change-Id: I7e44bb7233ca4318fe8bb11c81e8d69c06e56da1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd user util function: GetUidByUserName 48/87648/3
Sangyoon Jang [Fri, 9 Sep 2016 04:30:02 +0000 (13:30 +0900)]
Add user util function: GetUidByUserName

Change-Id: Ib697f993c9168f7d86b66ea9448631f7a5a24f0c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix GetGidByUid function 46/87346/2
Bartlomiej Kunikowski [Wed, 7 Sep 2016 11:47:26 +0000 (13:47 +0200)]
Fix GetGidByUid function

Now it returns gid not a uid

Change-Id: Ica7c7d23db47ab2c2e7821a3ba789b07ce1912eb

7 years agoRecovery mode for mount install and mount update 39/86739/3
Tomasz Iwanek [Thu, 1 Sep 2016 10:05:21 +0000 (12:05 +0200)]
Recovery mode for mount install and mount update

Implements recovery of mount install and mount update
requests in common library code. Additional step is added
that is needed to be used in recovery mode.

Change-Id: I6fa8aefc58b4348b3b7d2cf78421617eebfd757b

7 years agoAdd user utils 89/86689/7
Piotr Ganicz [Thu, 1 Sep 2016 08:16:16 +0000 (10:16 +0200)]
Add user utils

This patch gathers the common user functions in one header
and exposes comfortable API for getting uid, useraname,
gid, group name.

Change-Id: I740626455a7dea93af076632fb2fd1216db84b49

7 years agoFix undo of StepUpdateSecurity 20/86920/2
Sangyoon Jang [Mon, 5 Sep 2016 12:06:02 +0000 (21:06 +0900)]
Fix undo of StepUpdateSecurity

Rollback security using old_manifest_data.

Change-Id: I9da44c4ac81d0d0fc819712b0bb52fc6ca63f8ab
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix undo of StepCopyBackup 53/86853/4
Sangyoon Jang [Mon, 5 Sep 2016 11:14:57 +0000 (20:14 +0900)]
Fix undo of StepCopyBackup

The ownership of backup data could be chaged by some steps,
so StepCopyBackup should be restore ownership properly.

Change-Id: Ieda07917f3762a24d0fb773f65947e1330460ab6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoadd libsystemd-journal in spec file explicitly 93/86793/3 accepted/tizen/common/20160905.171424 accepted/tizen/ivi/20160905.235902 accepted/tizen/mobile/20160905.235729 accepted/tizen/tv/20160905.235810 accepted/tizen/wearable/20160905.235835 submit/tizen/20160905.010800
Junghyun Yeon [Mon, 5 Sep 2016 02:19:03 +0000 (11:19 +0900)]
add libsystemd-journal in spec file explicitly

Change-Id: I1597418706e9ac2dc724a159463f55d41cf15e55
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFixes after cppcheck 12/86512/2
Piotr Dabrowski [Thu, 1 Sep 2016 12:43:38 +0000 (14:43 +0200)]
Fixes after cppcheck

> [app-installers/src/common/external_mount.cc:44]: (performance) Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant.

Change-Id: I4c3308a7d163987c158a4ff12a6c18770edd4212

7 years agoAdded missing includes (coding style requirement) 62/84562/3
Piotr Dabrowski [Fri, 19 Aug 2016 08:32:32 +0000 (10:32 +0200)]
Added missing includes (coding style requirement)

Change-Id: Icbb94e8d75447ee3a64d5f87999c55beac273130

7 years agoEnable recovery for delta request 19/86119/3
Tomasz Iwanek [Tue, 30 Aug 2016 13:52:38 +0000 (15:52 +0200)]
Enable recovery for delta request

To verify, crash delta update request (killing backend) and run
recovery for package:
 $ backend -b $path_to_created_recovery_file

Package state should be restore to the state before delta update.

Change-Id: I0f6481a81af870cfa5ab9637a46106471b8596a5

7 years agoFix pkg_initdb in user mode 38/86038/3
Sangyoon Jang [Tue, 30 Aug 2016 08:10:03 +0000 (17:10 +0900)]
Fix pkg_initdb in user mode

pkg_initdb should be run as root user.
app-installer doesn't need to set target user itself, pkgmgr_installer
will set target user properly.

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

Change-Id: I62e6461d77cfa49b3144d5a7a8b9d23bc4d51c88
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoForce uninstall for external storage packages 78/86078/3
Bartlomiej Kunikowski [Tue, 30 Aug 2016 10:56:56 +0000 (12:56 +0200)]
Force uninstall for external storage packages

StepOptionalAcquireExternalStorage

Change-Id: I2bdf0ddfc659defda95d46c287fff9df5cc4e54d

7 years agoInternal storage installation when unable to install on external storage 72/85872/3
Bartlomiej Kunikowski [Mon, 29 Aug 2016 10:19:05 +0000 (12:19 +0200)]
Internal storage installation when unable to install on external storage

Change-Id: Ic08fa673d0d7cc17f560533beaf4cc8eca6224aa

7 years agoFix tpk reinstall mode signature checking 92/85692/2
Tomasz Iwanek [Fri, 26 Aug 2016 09:31:21 +0000 (11:31 +0200)]
Fix tpk reinstall mode signature checking

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

Change-Id: I7ffa34adabc89c8e5c19428eda1729318f90c5ee

7 years agoRemove dependency to libcap and libattr 88/85288/3 accepted/tizen/common/20160829.135901 accepted/tizen/common/20160830.150140 accepted/tizen/ivi/20160830.061210 accepted/tizen/mobile/20160830.060934 accepted/tizen/tv/20160830.061039 accepted/tizen/wearable/20160830.061125 submit/tizen/20160829.010716 submit/tizen/20160830.010724
Tomasz Iwanek [Wed, 24 Aug 2016 10:56:38 +0000 (12:56 +0200)]
Remove dependency to libcap and libattr

Change-Id: I3ac00f6b071625869d96289ce55a5e017f2f2722

7 years agoStyle check 02/85702/2
Piotr Ganicz [Fri, 26 Aug 2016 14:22:27 +0000 (16:22 +0200)]
Style check

Change-Id: I598fc8deca97af0ad3e099adb33b7ba482a0edfd

7 years agoFix passing uid in pkg_initdb 44/85544/2
Tomasz Iwanek [Thu, 25 Aug 2016 14:17:17 +0000 (16:17 +0200)]
Fix passing uid in pkg_initdb

To verify, run as root:
 pkg_initdb -u 5001
tool should process package installed for owner user.

Change-Id: Ie95ce4966386cb98acc2175359b1a9306b627146

7 years agoFix shared/data directory policy 56/85456/3
Sangyoon Jang [Thu, 25 Aug 2016 07:28:58 +0000 (16:28 +0900)]
Fix shared/data directory policy

If the package has 'http://tizen.org/privilege/appdir.shareddata'
privilege, shared/data directory will be created.
This privilege is newly added in Tizen 3.0.

Change-Id: Ib8ec40592620c881c56bebfebc4b21a6703129ba
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoDeclare a const variable for tizenglobalapp uid 77/85477/2
Sangyoon Jang [Thu, 25 Aug 2016 09:01:13 +0000 (18:01 +0900)]
Declare a const variable for tizenglobalapp uid

GLOBAL_USER is defined other package's header file.
To clarify, declare tizenglobalapp uid as const variable itself and
use this variable.

Change-Id: I36f800fa1876274242dffffdca50acf6b3524ff3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix PkgmgrSignal::SetupUserList 70/85470/1
Sangyoon Jang [Thu, 25 Aug 2016 08:40:30 +0000 (17:40 +0900)]
Fix PkgmgrSignal::SetupUserList

Change-Id: I7736fd44f4636aab54198cf8173b4c2bdd79b2da
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix installation with prefer-external (storage) option. 59/84559/2
Bartlomiej Kunikowski [Wed, 17 Aug 2016 14:12:45 +0000 (16:12 +0200)]
Fix installation with prefer-external (storage) option.

Change-Id: I5b857600bcbb5017807386dccc09e7db7b596c00

7 years agoRemove outdated TODOs 30/84630/4
Tomasz Iwanek [Tue, 16 Aug 2016 15:52:13 +0000 (17:52 +0200)]
Remove outdated TODOs

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

Change-Id: I4402a3acf200d184018334133b6640ddf5e837a2

7 years agoStepRecoverSignature 96/84596/3
Tomasz Iwanek [Fri, 19 Aug 2016 09:57:56 +0000 (11:57 +0200)]
StepRecoverSignature

This step will be added to recovery mode because currently
certificate information is lost during recovery.

Requires working smoke tests:
 - https://review.tizen.org/gerrit/#/c/84564/
 - https://review.tizen.org/gerrit/#/c/84567/

Change-Id: I73063279cf453a3635d9dbca9492bdc5752313fd

7 years agoReplace deprecated security-manager api 71/84571/3 accepted/tizen/common/20160823.132613 accepted/tizen/ivi/20160824.021616 accepted/tizen/mobile/20160824.021440 accepted/tizen/tv/20160824.021534 accepted/tizen/wearable/20160824.021641 submit/tizen/20160822.060113
Sangyoon Jang [Fri, 19 Aug 2016 09:33:47 +0000 (18:33 +0900)]
Replace deprecated security-manager api

Use security_manager_path_req_* instead of
security_manager_app_inst_req_add_path.

Change-Id: Ia3e0970026cf5f33a89cfeb377a3e4484d852bb6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRefine getting security install type at PrepareRequest 47/84547/5
Sangyoon Jang [Fri, 19 Aug 2016 07:21:52 +0000 (16:21 +0900)]
Refine getting security install type at PrepareRequest

Get install type using path.

Change-Id: If0b6ee9b5030cea0a366e003687c66214afeec18
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoSend user signal together 98/83998/1
Sangyoon Jang [Tue, 16 Aug 2016 07:25:28 +0000 (16:25 +0900)]
Send user signal together

Now pkgmgr event signal will be separated, each user can only listen
their own signal(including global signal) via session bus.

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

Change-Id: I979c1f608c733a6545c30695215945870855cec0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agosymlink control for read-only files of global app. 93/81493/26 accepted/tizen/common/20160817.133206 accepted/tizen/common/20160818.144522 accepted/tizen/ivi/20160819.063353 accepted/tizen/mobile/20160819.063231 accepted/tizen/tv/20160819.063338 accepted/tizen/wearable/20160819.063317 submit/tizen/20160817.084623 submit/tizen/20160818.060816
jongmyeongko [Tue, 26 Jul 2016 12:27:14 +0000 (21:27 +0900)]
symlink control for read-only files of global app.

this is for new concept to support legacy app_path
for backward compatibility.

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

Change-Id: I8fab7b52ad874e05314df5a00d17a63d9e4f786b
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agofix invalid null check 42/83542/1 accepted/tizen/common/20160812.140740 accepted/tizen/ivi/20160815.233246 accepted/tizen/mobile/20160815.233119 accepted/tizen/tv/20160815.233204 accepted/tizen/wearable/20160815.233224 submit/tizen/20160811.062803 submit/tizen/20160812.053402
jongmyeongko [Thu, 11 Aug 2016 12:35:02 +0000 (21:35 +0900)]
fix invalid null check

Change-Id: Id97fa08208524e41ff7bda14de42f9786fb6b40b
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agotpk/wgt backend will run as system session 06/78206/23 submit/tizen/20160811.013634
Junghyun Yeon [Mon, 4 Jul 2016 12:34:34 +0000 (21:34 +0900)]
tpk/wgt backend will run as system session

Related changes
[slp-pkgmgr] https://review.tizen.org/gerrit/80764
[pkgmgr-server] https://review.tizen.org/gerrit/#/c/78205/
[app-installers] https://review.tizen.org/gerrit/#/c/78206/
[wgt-backend] https://review.tizen.org/gerrit/#/c/81099/

Change-Id: I0bd615388f539da3dc25594deb9b9eab999603a9
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix StepAcquireExternalStorage 96/83296/2
Sangyoon Jang [Wed, 10 Aug 2016 04:55:15 +0000 (13:55 +0900)]
Fix StepAcquireExternalStorage

Get installed storage from pkgmgr db when processing installed package.

Change-Id: I444eecd0caa1fe6b71b1dbbf58a542192e403172
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix pkg_initdb post script 97/83297/1 accepted/tizen/common/20160810.161603 accepted/tizen/ivi/20160810.081759 accepted/tizen/mobile/20160810.081646 accepted/tizen/tv/20160810.081703 accepted/tizen/wearable/20160810.081729 submit/tizen/20160810.000849
Hwankyu Jhun [Wed, 10 Aug 2016 05:00:07 +0000 (14:00 +0900)]
Fix pkg_initdb post script

fix typo

Change-Id: I4691dfbe35fb919f73298b487f5f821aaa7a3784
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoapply c++ type cast 90/83190/2 accepted/tizen/common/20160809.183948 accepted/tizen/ivi/20160809.232613 accepted/tizen/mobile/20160809.232352 accepted/tizen/tv/20160809.232502 accepted/tizen/wearable/20160809.232708 submit/tizen/20160809.051427
jongmyeongko [Tue, 9 Aug 2016 10:20:08 +0000 (19:20 +0900)]
apply c++ type cast

Change-Id: I60f3b97fc586457a2e45cb544a759502ae17a8f0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agofix build error for 64bit 40/83140/2
jongmyeongko [Tue, 9 Aug 2016 08:52:25 +0000 (17:52 +0900)]
fix build error for 64bit

Change-Id: Idc24a6f6d48253e0fe20d4d1d252f7b0b54f6aca
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agouse w/o restart version api for killing application 50/83050/4
jongmyeongko [Tue, 9 Aug 2016 02:13:51 +0000 (11:13 +0900)]
use w/o restart version api for killing application

Change-Id: I768afc6985714ec6e3fddbab377b60ab73a883f5
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoget external path using storage api. 59/80759/7
jongmyeongko [Wed, 20 Jul 2016 04:55:10 +0000 (13:55 +0900)]
get external path using storage api.

Change-Id: Idac5f15520125462240bc2fdc31e98d6505eeb7b
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoSet default operation of splash screen 60/82860/2
Hwankyu Jhun [Mon, 8 Aug 2016 07:44:14 +0000 (16:44 +0900)]
Set default operation of splash screen

Change-Id: I14f28544ff572d21affade002fb53d775025c396
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agofix dbus xml for DeleteLegacyDirs and CreateExternalDirsForAllPkgs 64/83064/1
Junghyun Yeon [Tue, 9 Aug 2016 04:55:18 +0000 (13:55 +0900)]
fix dbus xml for DeleteLegacyDirs and CreateExternalDirsForAllPkgs

Change-Id: Ieab373d880e90baf2a58486f46a3c8169641d4a4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoImplement new dbus method for create all external directories 83/80383/17
Junghyun Yeon [Mon, 18 Jul 2016 01:15:01 +0000 (10:15 +0900)]
Implement new dbus method for create all external directories

Change-Id: I836cd0aaa72fc7e34ea650b55e7e279933fbc569
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agocheck null value of extra icon path. 82/74482/13 submit/tizen/20160809.011327
jongmyeongko [Tue, 14 Jun 2016 04:59:52 +0000 (13:59 +0900)]
check null value of extra icon path.

Change-Id: I5c281d023a9fd0ed7ba9483c6c9d604e0cf60ee0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoUse pkgmgr API to get the parser db path 24/81324/8
Hwankyu Jhun [Mon, 25 Jul 2016 12:07:35 +0000 (21:07 +0900)]
Use pkgmgr API to get the parser db path

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

Change-Id: Ieb0403b6d95ef57a9ddd569d03f89f46475cf25d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix preload request for wgt 24/82424/3
Tomasz Iwanek [Wed, 3 Aug 2016 08:35:49 +0000 (10:35 +0200)]
Fix preload request for wgt

This commit should allow to install preload wgt package with command:
 - wgt-backend --preload -i $package

Submit together:
 - https://review.tizen.org/gerrit/82424
 - https://review.tizen.org/gerrit/82496
 - https://review.tizen.org/gerrit/82497

Change-Id: I483f819444773f164fc63401efda93b6b828b10d

7 years agoStylecheck 30/82430/1
Tomasz Iwanek [Wed, 3 Aug 2016 08:47:41 +0000 (10:47 +0200)]
Stylecheck

Change-Id: I081823db8cf901310aed58549c905ed304eedeac

7 years agoChange some log level in plugin processing 09/81909/2 accepted/tizen/common/20160803.193250 accepted/tizen/ivi/20160804.080811 accepted/tizen/mobile/20160804.080902 accepted/tizen/tv/20160804.080728 accepted/tizen/wearable/20160804.080616 submit/tizen/20160803.012753
Sangyoon Jang [Fri, 29 Jul 2016 07:41:05 +0000 (16:41 +0900)]
Change some log level in plugin processing

Some error logs can confuse the installation is failed.

Change-Id: I6f2ebd4ef39ca586b1a58cb05489e08a2d4f7cf4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoDo not allow move operation for internal-only packages 91/76991/7
Sangyoon Jang [Tue, 28 Jun 2016 07:56:54 +0000 (16:56 +0900)]
Do not allow move operation for internal-only packages

Change-Id: I46b82272c6831f362c67f0b6eb3b55cc1850cc5d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoGet default storage value to acquire external storage 57/76957/12
Sangyoon Jang [Tue, 28 Jun 2016 06:30:05 +0000 (15:30 +0900)]
Get default storage value to acquire external storage

Change-Id: Ie35187c1383a9305f92b61b270abf8bccab9f1e2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agochange the method to check if the package is installed externally. 71/81871/3
jongmyeongko [Fri, 29 Jul 2016 04:09:23 +0000 (13:09 +0900)]
change the method to check if the package is installed externally.

app2ext api was removed.

Change-Id: I0e9d8f43d54e89d102355cef6b95b296da9e251b
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix StepDeltaPatch and ExternalMount 77/80277/5
Tomasz Iwanek [Fri, 15 Jul 2016 08:41:54 +0000 (10:41 +0200)]
Fix StepDeltaPatch and ExternalMount

Following changes allows StepDeltaPatch step to work with package
which is installed in external memory.

Additional abstraction of ExternalMount is added to enable/disable
package for delta update mode.

Change-Id: I686ccd356f2c061d24e3a8a2b625232b57506ffc

7 years agoremove NOT used functions. 04/80204/5
jongmyeongko [Fri, 15 Jul 2016 07:45:48 +0000 (16:45 +0900)]
remove NOT used functions.

Change-Id: Ib7776828cb9d419e002cc58fc8c7e6536ebec8f9
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoremove unnecessary code 79/79979/4
jongmyeongko [Thu, 14 Jul 2016 00:41:38 +0000 (09:41 +0900)]
remove unnecessary code

Change-Id: I5c29835d2c05680769223c33daa5b5a0f45ead6d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agocall sync() before installer termination. 76/80276/3 accepted/tizen/common/20160722.135218 accepted/tizen/ivi/20160724.042103 accepted/tizen/mobile/20160724.041953 accepted/tizen/tv/20160724.042035 accepted/tizen/wearable/20160724.042049 submit/tizen/20160722.091303
jongmyeongko [Fri, 15 Jul 2016 12:31:28 +0000 (21:31 +0900)]
call sync() before installer termination.

Change-Id: Icbd4997bfa679a80b9260884a916f73dfe678dbb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agosupport of legacy app directories 19/80319/7
jongmyeongko [Sat, 16 Jul 2016 07:31:02 +0000 (16:31 +0900)]
support of legacy app directories

dependent change:
https://review.tizen.org/gerrit/#/c/80279/

Change-Id: I418d9be1ded705e8fc2af286fb70adb2d594e277
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoremove deprecated and not-supported RW directories 79/80279/9
jongmyeongko [Fri, 15 Jul 2016 12:44:20 +0000 (21:44 +0900)]
remove deprecated and not-supported RW directories

and, remove pre-packed RW directories.

Change-Id: Id20197c874a7f8b831764cedd65676c1fb317f42
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoSet the SMACK security label to run given executable file in systemd services 44/80844/1 accepted/tizen/common/20160721.175911 accepted/tizen/ivi/20160721.090806 accepted/tizen/mobile/20160721.090532 accepted/tizen/tv/20160721.091345 accepted/tizen/wearable/20160721.091100 submit/tizen/20160721.003054
jooseong lee [Wed, 20 Jul 2016 11:15:03 +0000 (20:15 +0900)]
Set the SMACK security label to run given executable file in systemd services

Change-Id: Ifbe69ce58ab3116668f851041f9db818882eb020
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
7 years agoFix GetUserList 78/80478/1 accepted/tizen/common/20160719.171850 accepted/tizen/ivi/20160718.104415 accepted/tizen/mobile/20160718.104301 accepted/tizen/tv/20160718.104201 accepted/tizen/wearable/20160718.104318 submit/tizen/20160718.020809
Sangyoon Jang [Mon, 18 Jul 2016 08:15:22 +0000 (17:15 +0900)]
Fix GetUserList

Add "SECURITY" usertype for getting container users.

Change-Id: Ieffc46c62b9908ea8c6f17a09461eab9b6753e6a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix parsing watch application 51/80451/1
Sangyoon Jang [Mon, 18 Jul 2016 06:53:06 +0000 (15:53 +0900)]
Fix parsing watch application

Change-Id: Ideb0cc9ff9f6e052865acce5f190edd759cebcf2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoImplement pkg enable/disable 19/78919/5
Junghyun Yeon [Thu, 7 Jul 2016 10:19:57 +0000 (19:19 +0900)]
Implement pkg enable/disable

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

Change-Id: Ie0467a66d133cec859108229a4a499ebcf4d6b21
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoadd app-context plugin lib in plugins_list 96/79096/2
jongmyeongko [Fri, 8 Jul 2016 07:10:36 +0000 (16:10 +0900)]
add app-context plugin lib in plugins_list

Change-Id: I90491eee2735afdaeef9bee2d69a570935a66b36
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoMerge data directory when copying backup storage dir 40/79340/1
Sangyoon Jang [Mon, 11 Jul 2016 04:43:49 +0000 (13:43 +0900)]
Merge data directory when copying backup storage dir

Some packages have empty data directory. This caused update failure.

Change-Id: I87feb6b7e27ff3bfe24a3ca1a3612ebc5ea044da
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agofix pkg move behavior 45/78445/2 accepted/tizen/common/20160706.141854 accepted/tizen/ivi/20160706.014240 accepted/tizen/mobile/20160706.014157 accepted/tizen/tv/20160706.014215 accepted/tizen/wearable/20160706.014230 submit/tizen/20160705.114429
jongmyeongko [Tue, 5 Jul 2016 12:54:43 +0000 (21:54 +0900)]
fix pkg move behavior

remove invalid checking code.

Change-Id: I482f2a0e68531871a5d128e73375b5922e746b01
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoMerge "Make pkgdir-tool as non-root service" into tizen
Sangyoon Jang [Tue, 5 Jul 2016 11:57:33 +0000 (04:57 -0700)]
Merge "Make pkgdir-tool as non-root service" into tizen