Junghyun Yeon [Mon, 9 May 2016 05:20:50 +0000 (14:20 +0900)]
Change maximum length of filepath to PATH_MAX
When length of file name is reaches 256,
package which has it failed to install due to it.
So set maximum length of filepath higher than
maximum filename length to prevent it.
Change-Id: I45465ace401feaecc60dfa0c7ba9e1e703a44b13
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Hwankyu Jhun [Tue, 10 May 2016 06:21:55 +0000 (23:21 -0700)]
Merge "Add color-depth attribute on splash screen" into tizen
Hwankyu Jhun [Mon, 9 May 2016 08:55:47 +0000 (17:55 +0900)]
Add color-depth attribute on splash screen
- Requires:
[pkgmgr-info] https://review.tizen.org/gerrit/#/c/68656/
[manifest-parser] https://review.tizen.org/gerrit/#/c/68658/
Change-Id: I7e72c0218531f6c746b53a2d95e9f6a4a18eb671
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Mon, 9 May 2016 07:30:51 +0000 (16:30 +0900)]
Fix RegisterCertificate
- Rename to RegisterCertificates.
- Check if each cert infos exists.
Change-Id: Iad3b0027222f8ef2f33bf1f125c977492cd844a5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 9 May 2016 05:17:18 +0000 (14:17 +0900)]
Fix a bug on parsing manifest
Store label at 'text' member. ('name' is not used at pkgmgr-info)
Change-Id: I90e7c24d47ee2c9e066775d0b37da3486c2ac11e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 4 May 2016 08:56:04 +0000 (17:56 +0900)]
Parse category, metadata, background category for watchapp
Change-Id: I398f7e1918a894e7abf915ef1976a6b830517e7a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 4 May 2016 08:22:17 +0000 (17:22 +0900)]
Fix ValidateSignatures
preload package without signing can be installed.
Change-Id: I7567f4067a376f62b75630fe137f7907a32cbdd3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Tomasz Iwanek [Fri, 8 Apr 2016 13:48:53 +0000 (15:48 +0200)]
Mount install steps
Due to mounting res/ directory tep package is copied
to tep/ directory instead of res/.
Requires:
- https://review.tizen.org/gerrit/65788/
- https://review.tizen.org/gerrit/66961/
- https://review.tizen.org/gerrit/67457/
- https://review.tizen.org/gerrit/67822/
Change-Id: I37974991f0d5fa2248e0a40aa1a999cc389f7485
Arkadiusz Szulakiewicz [Fri, 8 Apr 2016 14:04:24 +0000 (16:04 +0200)]
Implement TzipInterface
Change-Id: I13b02a17c70c98d27bcf9f9959de90099ceee99a
Sangyoon Jang [Tue, 3 May 2016 07:03:40 +0000 (16:03 +0900)]
Fix getting signature file path
ValidationCore::SignatureFileInfo::getFileName() returns full path.
Change-Id: I32413027381b13727b71057320e515920f447309
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Arkadiusz Szulakiewicz [Thu, 14 Apr 2016 14:22:27 +0000 (16:22 +0200)]
Prevent installation of unsigned packages
Change-Id: Id4768a04d5b923b9287c0098e3e3fe9775afb0fc
Tomasz Iwanek [Wed, 27 Apr 2016 12:35:38 +0000 (14:35 +0200)]
Fix calculating space for unpacking zip
Change-Id: I83247d0ab716f6fddc250579f06a1bba2c4b353d
Tomasz Iwanek [Mon, 18 Apr 2016 08:08:22 +0000 (10:08 +0200)]
Extract cert-svc utility function to separate file
Change-Id: I0a591e899916ac6642080babc9adf8ae91460b49
Sangyoon Jang [Fri, 15 Apr 2016 07:57:49 +0000 (16:57 +0900)]
Add user option at pkgdir-tool
- pkgdir-tool can be run for specific user only.
- Add a script for useradd scenario.
Change-Id: Ib47b9e1185d6ac243c1f6a8e59dfe23a890e4cd2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 15 Apr 2016 05:13:56 +0000 (14:13 +0900)]
Don't create skel dirs for packages
There are two ways for making per user directories for global app.
The first one is using pkgdir-tool and the second is copying from skel.
However, These cause inconsistency because copying from skel doesn't
call security-manager api for labeling.
We need to maintain consistency in creating per user directories, so
just using pkgdir-tool only.
Change-Id: I9d84d80e03ad27ab3992421ae7fca79c147dd076
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 14 Apr 2016 08:44:12 +0000 (17:44 +0900)]
Unregister security context for each user when uninstalling global pkg
Change-Id: I60d6669961d8a2150f23fb2752607bc1d0f0ee8d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 12 Apr 2016 08:07:39 +0000 (17:07 +0900)]
Fix a bug on SendAppids
pkgmgr_installer_send_app_uninstall_signal return 0 on success.
Change-Id: Ie60d656f3b391063c084b76e1e25cb099315b9d2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Mon, 11 Apr 2016 09:18:14 +0000 (18:18 +0900)]
change functions for thread-safe
Change-Id: I3d898f3b61d2dbc93a487155ced1bda4081cd7bd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeong ko [Mon, 11 Apr 2016 08:21:04 +0000 (01:21 -0700)]
Revert "Revert "remove privilege plugin for the list.""
This reverts commit
21971ebe94fcf03e7c3a7af85b3762563bc9ae73.
Change-Id: I822b228fb7aeff0d0a2bbcb76e5e6b6d8ad86c83
Semun Lee [Fri, 8 Apr 2016 11:53:39 +0000 (04:53 -0700)]
Merge "Fix QueryTepPath" into tizen
Tomasz Iwanek [Fri, 8 Apr 2016 11:39:44 +0000 (13:39 +0200)]
Fix QueryTepPath
Return value causes exception.
Change-Id: Ia79074d06abead1208b18fa6bad68b4c036f3346
Sangyoon Jang [Thu, 7 Apr 2016 08:45:55 +0000 (17:45 +0900)]
Fix skipping reference checking
Check the condition using getuid(), instead of uid of installer context.
Change-Id: Ic263a8ef0fa4edd18fbb3fc0032976a2b1eb2944
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Tomasz Iwanek [Tue, 5 Apr 2016 12:05:39 +0000 (14:05 +0200)]
Remove UpdateTepInfoInPkgmgr function. Fix preserving tep file through update
Submit together:
https://review.tizen.org/gerrit/64808
https://review.tizen.org/gerrit/64809
https://review.tizen.org/gerrit/64814
Change-Id: Ib4a7214246f806fc57a382ed0e03e5fe0f8f3f27
Tomasz Iwanek [Mon, 21 Mar 2016 12:45:24 +0000 (13:45 +0100)]
Fix coding style and warnings
To verify, run smoke tests.
Change-Id: I8385063372281fe26d67a558bf2f54e48394de3b
Arkadiusz Szulakiewicz [Fri, 1 Apr 2016 06:38:12 +0000 (08:38 +0200)]
Move RDS step to app-installers
Change-Id: Id9e5a97ba1ef0716e9b1058a67e6fc4b19e086ab
Arkadiusz Szulakiewicz [Tue, 8 Mar 2016 14:12:49 +0000 (15:12 +0100)]
Create shared directories on external storage
Change-Id: I6cbccde9b6f18848c4a6f9bb09bbfbcfb8078412
Tomasz Iwanek [Tue, 5 Apr 2016 07:50:54 +0000 (09:50 +0200)]
Revert "Revert "Removing proceeding account and shortcut data""
This reverts commit
5c7bc9b9d0ffa17241856ed7728fe2f086066a16.
Change-Id: I31b45f8c4124bc8fb75c552574356e1f9ab7b709
Sangyoon Jang [Mon, 28 Mar 2016 06:38:07 +0000 (15:38 +0900)]
Fix StepConfigure::precheck()
Non-root user cannot request manifest direct mode or
preload request mode.
Change-Id: Ic41843e80e4309afe457f955e65e2443fa90c701
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Tue, 29 Mar 2016 09:08:11 +0000 (18:08 +0900)]
add cache folder in shared folder when installing app
Change-Id: I84fdd11ed89f2347744d0ae2e0dd3a5906f2e84b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Fri, 1 Apr 2016 11:29:35 +0000 (20:29 +0900)]
temporary fix, wait for termination before proceeding update.
Change-Id: I37a4dbbc7b6cb8738e65533564f973c751cbd898
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeong ko [Fri, 1 Apr 2016 11:26:49 +0000 (04:26 -0700)]
Revert "Removing proceeding account and shortcut data"
This reverts commit
9e24a6eddd0e7ca2bb957d2e2de3d6e0315f5846.
Change-Id: I055aeb9176d6b57a1629c127aeb90417871460ab
Tomasz Iwanek [Fri, 26 Feb 2016 15:27:59 +0000 (16:27 +0100)]
Removing proceeding account and shortcut data
This data is parsed by plugins in case of tpk and we don't
need to store this information anywhere. Information that
was set by those methods wasn't read anywhere.
There is a different situation in case of wgt backend where
we generate platform xml manifest and we need this information.
Otherwise it may be lost when update is running.
Change-Id: I73a073e0ff252b9cef7445143965d708d7a2c5d4
Krzysztof Jackiewicz [Tue, 29 Mar 2016 13:36:57 +0000 (15:36 +0200)]
Fix the order of security context arguments
Change-Id: Ib1ab6c40b82ee52c8dfbce95e16f408293e82b11
jongmyeong ko [Mon, 28 Mar 2016 04:27:55 +0000 (21:27 -0700)]
Revert "remove privilege plugin for the list."
This reverts commit
3a0dcbd0617ade66037e94940150ccc19b96ed98.
Change-Id: I8d8af52b87e1125ddc2424239f48017b7d2d2240
Junghyun Yeon [Fri, 25 Mar 2016 09:18:19 +0000 (18:18 +0900)]
change functions for thread-safe
Change-Id: Ib0f6ac4d32dc9070783d25738729a2ed74fa8c50
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Fri, 25 Mar 2016 02:12:20 +0000 (11:12 +0900)]
bugfix of package installation
Change-Id: I4ad147816a876bc9e0b5e3961d6814baf7e6d3cd
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeong ko [Fri, 25 Mar 2016 02:10:31 +0000 (19:10 -0700)]
Revert "change default value of nodisplay_setting for widget/watch app to 'false'"
This reverts commit
b242bf5b02bc595751b27252b4904552fb137194.
Change-Id: I7064db93a5d0a127f61520f6bdf8ec1eda48d00c
Junghyun Yeon [Thu, 24 Mar 2016 05:59:44 +0000 (14:59 +0900)]
change default value of nodisplay_setting for
widget/watch app to 'false'
Change-Id: I8c5029608afd9c34f428b148a0d48641f784fc0e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Wed, 23 Mar 2016 07:44:38 +0000 (16:44 +0900)]
modify log message not to be understood as an error.
Change-Id: Iaf4d6a3277b65a07bcb252d83a424e54eeb7d1f7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 23 Mar 2016 01:39:52 +0000 (10:39 +0900)]
remove privilege plugin for the list.
this is not necessary, anymore.
Change-Id: I9cb4e9c80fb9563660e6ecba25a4f18bd2364def
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 22 Mar 2016 07:22:09 +0000 (16:22 +0900)]
add force-remove feature for installer
usage(root only):
tpk-backend -d {pkgid} --preload --force-remove
Change-Id: I705cada8e5d41055371cb97101197d8b44f4074f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Mon, 21 Mar 2016 12:04:07 +0000 (21:04 +0900)]
Set uid to globalappuser when running as root
Change-Id: I3aa7e1071d5abc92c8c7a8b2eca83b2f429c27c3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Mon, 21 Mar 2016 04:27:54 +0000 (13:27 +0900)]
skip checking blacklist in case of offline installation.
Change-Id: I3d6cf7c6a7b1c8d812e151cfe26729b2fd044279
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Thu, 10 Mar 2016 12:08:12 +0000 (13:08 +0100)]
Rework step/ directory structure
Steps are moved to subdirectories according to their namespace.
Submit together with:
- https://review.tizen.org/gerrit/61795
- https://review.tizen.org/gerrit/61796
- https://review.tizen.org/gerrit/61797
Build to verify, no logic changes were made.
Change-Id: I52132e9bff5efa6ede8f43c3ef6cd6bbd3064097
Hwankyu Jhun [Sat, 12 Mar 2016 07:32:40 +0000 (16:32 +0900)]
Add 'splash-screen-display' attribute for uiapplication
Requires:
https://review.tizen.org/gerrit/#/c/61996/
https://review.tizen.org/gerrit/#/c/61995/
Change-Id: Iddcb25177182348fcff9644a9dc4d7a1af61a939
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jongmyeongko [Thu, 17 Mar 2016 01:14:54 +0000 (10:14 +0900)]
apply new security api related to TZ_SYS_APP_RO/RW seperation.
Change-Id: I596e0b94b180c71b6379a8a5379c30d8558d749f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Thu, 10 Mar 2016 00:54:45 +0000 (09:54 +0900)]
create error file if the installation of preloaded tpks is failed.
this works in offline mode only.
mic script will detect this error directory.
Change-Id: I77b65d85d55ecbeff8fbf8a7051c4aa4555f3314
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 21 Mar 2016 01:41:50 +0000 (18:41 -0700)]
Merge "skip copying RW directoires in case of GLOBAL-app update" into tizen
jongmyeongko [Fri, 18 Mar 2016 10:15:23 +0000 (19:15 +0900)]
skip copying RW directoires in case of GLOBAL-app update
Change-Id: Ia36c632f79678ec20bc44eaeac24cf96087d2f72
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 15 Mar 2016 11:36:44 +0000 (20:36 +0900)]
skip checking reference-hash in case of direct-install by privileged user.
Change-Id: I35b278a8e93000100690b56142264d01f4d69d3e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Wed, 16 Mar 2016 10:12:40 +0000 (11:12 +0100)]
Set main app id for watch application
Test:
/usr/bin/tpk-backend-ut/manifest-test --gtest_filter="ManifestTest.WatchApplicationElement_Set*"
shouldn't crash.
Change-Id: I1a3b0ab29481c259ae3ab2688d176fbffd0c2c45
jongmyeongko [Thu, 17 Mar 2016 00:30:10 +0000 (09:30 +0900)]
fix failure of creation per-user directories.
Change-Id: I4acb6699499ad52d112bc5c063c393abf2732fae
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 16 Mar 2016 07:40:59 +0000 (16:40 +0900)]
set nodispay value as 'true' for watch-application
Change-Id: I94d66bbd8a46e12f6d1473193a905912a512d18c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Wed, 16 Mar 2016 02:52:05 +0000 (19:52 -0700)]
Revert "Rework main app detection for widget-application"
This reverts commit
65451b2b903a5b786d053e197c285f976f0777f2.
Change-Id: I509c61d921d259e6795df124685e33c69dc370ec
jongmyeongko [Mon, 14 Mar 2016 08:27:13 +0000 (17:27 +0900)]
use tizen-platform metadata for "/home"
Change-Id: Id200c785b466f8472aa3aaaa824bb29a9012ac8c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Fri, 11 Mar 2016 14:52:20 +0000 (15:52 +0100)]
Fix formatting/double free()
manifest->tep_name is freed in pkgmgr.
Change-Id: Ic6720169d01262fb0089a90759d072d448af9bbc
Sangyoon Jang [Fri, 11 Mar 2016 05:47:05 +0000 (14:47 +0900)]
Add StepCheckRemovable
This step checks the given package is removable or not.
Change-Id: I63ddfcfd8dbd2f100e413c2c5c6b1290842ac590
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Tomasz Iwanek [Mon, 7 Mar 2016 12:11:59 +0000 (13:11 +0100)]
Metadata/category plugin calling convention of tizen 2.4
Change-Id: I0d8c332d6b95261b846da9509d2942c18472ce2e
Sangyoon Jang [Fri, 11 Mar 2016 02:26:51 +0000 (11:26 +0900)]
Add missing return statement
Change-Id: If6d64157b8f981d54b3901a9aa04a6d0f3bc3238
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Fri, 11 Mar 2016 02:42:30 +0000 (11:42 +0900)]
fix build error
Change-Id: I56a13532073aab7efb974c29d1b63759a29667bd
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Mon, 7 Mar 2016 09:50:08 +0000 (10:50 +0100)]
Add missing default values for manifest_x structure
Change-Id: Ie5724900241b3678fc2b3e50b2764473bb392074
Tomasz Iwanek [Fri, 4 Mar 2016 09:47:15 +0000 (10:47 +0100)]
Rework main app detection for widget-application
Requires:
- https://review.tizen.org/gerrit/61180
Change-Id: I5ac527b6bcb3307b2e58090f6e8828d560e605be
Tomasz Iwanek [Thu, 3 Mar 2016 15:22:20 +0000 (16:22 +0100)]
Set manifest->multiple, manifest->taskamange for service application
Requires:
- https://review.tizen.org/gerrit/61063
Change-Id: I4bb8e3f759e94d8fd8e843f6e367f180bf20bd2f
Sangyoon Jang [Fri, 4 Mar 2016 08:16:27 +0000 (17:16 +0900)]
Fix setting privilege level
- Set PLATFORM level privilege when install preload package.
- Remove setting PLATFORM level privilege when manifest direct install
Change-Id: Ia7786ba79a9825c2aab2bfbb2b1c1ba6890b21a5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 3 Mar 2016 12:32:56 +0000 (21:32 +0900)]
Skip creating storage directories when install global app
Global applications use storage directories at user's home who runs the
application.
Change-Id: Ie29d636c76cbc0c81cceaf2236b1c5f3746236a5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 3 Mar 2016 12:19:11 +0000 (21:19 +0900)]
Fix creating trusted dir
Make it more clearly.
Change-Id: I07f05550a144e2a7a307db0dbad32d071383d861
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 2 Mar 2016 08:16:21 +0000 (17:16 +0900)]
Skip validating privilege level when install preload package
Change-Id: I93af86d01c20bdb58605d0b639183fccde556352
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Thu, 3 Mar 2016 06:40:53 +0000 (15:40 +0900)]
check author_id before set-up paths for security api.
Change-Id: Ia6b5c161f247caf4e3730c297d5f712b458554e4
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Fri, 5 Feb 2016 12:39:21 +0000 (13:39 +0100)]
Implement launching 'metadata' and 'category' plugin
Implementation of loading other types of plugins of
pkgmgr than 'tag':
- DynamicLibHandle was reworked to be base class of all plugins types,
- add factory for plugin and common interface for them.
Following changes should be submitted together:
- https://review.tizen.org/gerrit/#/c/59029/
- https://review.tizen.org/gerrit/#/c/59028/
- https://review.tizen.org/gerrit/#/c/59030/
- https://review.tizen.org/gerrit/#/c/59031/
Change-Id: I7f6bd50e364bedac2ee18626db0b02cda4865e31
Sangyoon Jang [Thu, 3 Mar 2016 06:23:11 +0000 (15:23 +0900)]
Fix pkgdir-tool
- Don't create trusted dir if the package is not signed.
- Continue process even if error occurred.
Change-Id: I489ce0a804783ae4e62720055edad75727e5d193
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Fri, 26 Feb 2016 10:07:37 +0000 (19:07 +0900)]
move checking pkg_path code to new step
Requires:
https://review.tizen.org/gerrit/#/c/60470/
Change-Id: Ia81399b6312c4b1473b5e921d119d46c70756fd1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 26 Feb 2016 07:17:49 +0000 (16:17 +0900)]
remove pkgdir_maker link
Change-Id: Ic6aaeabd3f48b46ecc5f7ca9f2c3754ef5a26ccf
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Arkadiusz Szulakiewicz [Mon, 29 Feb 2016 08:49:05 +0000 (09:49 +0100)]
Add WatchApplication support to parse step
Change-Id: Ia309c649263a20733a0c4b1abfa1282702248545
Tomasz Iwanek [Fri, 26 Feb 2016 08:36:12 +0000 (09:36 +0100)]
Create per user directories only for users in 'users' group
Change-Id: I2fa649ffc31979794f3a7d130be9a212dfdf3609
Tomasz Iwanek [Fri, 26 Feb 2016 11:03:31 +0000 (12:03 +0100)]
Fix description parsing in StepParseManifest
Requires to be submitted with:
- https://review.tizen.org/gerrit/60480
Change-Id: I353b47bb554f189ce84c7e191c0fa4ea80984669
Tomasz Iwanek [Fri, 26 Feb 2016 08:29:20 +0000 (09:29 +0100)]
Fix author parsing in StepParseManifest
Requires to be submitted with:
- https://review.tizen.org/gerrit/60463
Change-Id: Ic714815a7ff86ee54d1082041c40bfd113cf138d
Sangyoon Jang [Fri, 26 Feb 2016 06:13:49 +0000 (15:13 +0900)]
Encode author id in base64
To use for smack label.
Change-Id: I6f5230de79c99e1371daef00e2c2184e2a838134
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Hwankyu Jhun [Tue, 23 Feb 2016 23:26:28 +0000 (08:26 +0900)]
Add app-control-operation attribute on splash screen
Requires:
https://review.tizen.org/gerrit/#/c/60185/
https://review.tizen.org/gerrit/#/c/60192/
Change-Id: I44f746e4739f786eb06bfdcdda6b22a2ad4683de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jongmyeongko [Wed, 24 Feb 2016 05:51:38 +0000 (14:51 +0900)]
modification for seperation of RO/RW location
Requires:
https://review.tizen.org/gerrit/#/c/60194/
Change-Id: I5aa89822e81c36586d978e25539cc95c7365a772
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Fri, 19 Feb 2016 11:30:58 +0000 (20:30 +0900)]
Set permission at shared/data, shared/trusted
Change-Id: I3b1db63961ee331ff6c3265f7b40a8a3457e7715
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Tue, 23 Feb 2016 09:38:53 +0000 (18:38 +0900)]
set 'rpm' type to rpm packed application packages
to support the old behaviors use 'type' information(like as 'rpm') for their own purpose.
we can't not figure out which modules use 'type' info in previous entire models and,
it not easy to make them fix the behavior to other way.
so, now we realive the 'rpm' type.
only rpm packed application package can be 'rpm' type.
Change-Id: I7c7e40e5fc925e1daff5629a36e7ba47acddb8e7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Arkadiusz Szulakiewicz [Mon, 15 Feb 2016 13:16:53 +0000 (14:16 +0100)]
Implement creating shared directories
This patch has dependency on the following change:
https://review.tizen.org/gerrit/#/c/59696/
Change-Id: If34c3c5e91ca3c485bb8c99c169e59c9fdd2959d
Tomasz Iwanek [Thu, 18 Feb 2016 08:38:58 +0000 (09:38 +0100)]
Fix StepRecoverStorageDirectories
Recovery will be broken if update installation breaks before
coping files. This step was breaking directory structure in
this case because of wrong check.
Change-Id: Ica3875f52b045163e8e169fd7ea296636c4aa89c
Tomasz Iwanek [Fri, 19 Feb 2016 10:27:51 +0000 (11:27 +0100)]
Code cleanup
Removes comments that will not be fixed and "empty method" comment
that gives no information at all.
Change-Id: I299a7fe88a0f1bab2d336c462e0dc7cb13f92217
Sangyoon Jang [Fri, 19 Feb 2016 08:01:07 +0000 (17:01 +0900)]
Store distributor certificates
Change-Id: I14b032ed9de823f98fcff23783ba5480dfc9fb4e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 19 Feb 2016 05:26:04 +0000 (14:26 +0900)]
Store author root/intermediate certificates
Change-Id: I04191af01959f376395d55b5a92f2551f8896f01
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Thu, 18 Feb 2016 03:48:50 +0000 (12:48 +0900)]
clear 'rpm' related code
Change-Id: Ic99216d87ba5764dd80679084fc11a598f5e466f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 16 Feb 2016 11:00:37 +0000 (20:00 +0900)]
modify AssignPackageTags
Change-Id: I14028a15d94d542011001caa59507c1e1e76bb0e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 16 Feb 2016 07:10:01 +0000 (16:10 +0900)]
support installation of TPK as preload app.
Usage : (root-shell)#tpk-backend -i {path of tpk} --preload
Change-Id: Ibc548e7dd7511afad15fea43a84433a86052a254
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Hwankyu Jhun [Fri, 12 Feb 2016 11:49:30 +0000 (20:49 +0900)]
Support splash screen
Add <splash-screens> tag parsing in tpk manifest
Requires:
https://review.tizen.org/gerrit/#/c/59354/
https://review.tizen.org/gerrit/#/c/59363/
Change-Id: I111557eaae69f4472fbbb550ae3408accb66d317
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jongmyeongko [Wed, 17 Feb 2016 04:27:34 +0000 (20:27 -0800)]
Merge "remove not-used attribute (name of icon, name of image)" into tizen
Arkadiusz Szulakiewicz [Mon, 15 Feb 2016 14:31:33 +0000 (15:31 +0100)]
Fix code style (add missing cv qualifiers)
Change-Id: Ia57ad56abc0b0f46f59d124f263698f29c1fb4ce
Tomasz Iwanek [Mon, 15 Feb 2016 09:34:51 +0000 (10:34 +0100)]
Create interface defining strategy of initialization of pkgmgr_installer object
Smoke tests are randomly crashing since some changes with dbus
connection closing in slp-pkgmgr. It seems to be some time hazard (?)
on closing connection.
Anyway, tests are setting up and closing connection repeatingly.
Introduced interface will allow to customize creation of pkgmgr_installer
object in smoke tests.
Following changes need to be submitted together:
- https://review.tizen.org/gerrit/59442
- https://review.tizen.org/gerrit/59443
- https://review.tizen.org/gerrit/59444
Change-Id: I69f5972c09a593cfe9a282f2120845f85aa65b52
jongmyeongko [Tue, 16 Feb 2016 07:02:47 +0000 (16:02 +0900)]
remove not-used attribute (name of icon, name of image)
Requires:
https://review.tizen.org/gerrit/#/c/59508/
Change-Id: I37b6ae310a478d32df766c3abc150311033ca02f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 12 Feb 2016 06:28:52 +0000 (15:28 +0900)]
for widgetapp, some attributes should be set with fixed value.
Change-Id: I7687ab3ac86e15d54e0db7fadcec1ca5e5b14836
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Fri, 5 Feb 2016 09:28:36 +0000 (10:28 +0100)]
Move plugin management code to plugins/ directory
Build to verify.
Change-Id: I8fe1d060872ea376c8abc8c6808591d38b4386d9
Tomasz Iwanek [Tue, 9 Feb 2016 09:00:56 +0000 (10:00 +0100)]
Add <category> tag parsing in tpk manifest
Requires:
- https://review.tizen.org/gerrit/59040
Change-Id: If3ebcd9f126d2f165a3820249b321054eb63c12f
Lukasz Wartalowicz [Fri, 29 Jan 2016 14:17:59 +0000 (15:17 +0100)]
Integrating StepRunParserPlugin with PluginsLauncher/DynamicLibHandle
Change-Id: Iaaf1c62250d01573d1960cb1ff5ecdb9cfcf3850
Tomasz Iwanek [Wed, 10 Feb 2016 14:15:41 +0000 (15:15 +0100)]
Stylecheck fix
Change-Id: I7196d4c8ef0a26e79bcbd8757941b38b564caf81
Arkadiusz Szulakiewicz [Mon, 8 Feb 2016 10:49:33 +0000 (11:49 +0100)]
Move step remove manifest to app-installer
Change-Id: Ic13e3fea135eab0aad2ccb872b9aaf1b162549d7