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>
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>
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>
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>
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)
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
jongmyeongko [Wed, 21 Dec 2016 12:11:08 +0000 (04:11 -0800)]
Merge "refactor getsize sync function" into tizen_3.0
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
Tomasz Iwanek [Fri, 19 Aug 2016 14:59:33 +0000 (16:59 +0200)]
Add global symlink error handling to pkgcmd
Requires: https://review.tizen.org/gerrit/84635
Change-Id: Ifd8439ba2e678dfd0bba9a674ee75a9996bccced
Junghyun Yeon [Thu, 18 Aug 2016 06:58:27 +0000 (15:58 +0900)]
Remove unused csc codes
Related change
[slp-pkgmgr] : https://review.tizen.org/gerrit/#/c/84349/
Change-Id: I4e01e28777e516799b33cd2fc914b5bfdcd4cffa
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Thu, 14 Jul 2016 00:33:07 +0000 (09:33 +0900)]
remove not-support function
Submit with:
https://review.tizen.org/gerrit/#/c/76806/
Change-Id: I09e260a35bdfa71a0d6f06e443bbfc6f754e789a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Tue, 12 Jul 2016 05:10:41 +0000 (14:10 +0900)]
Fix coding rule
Change-Id: I940cde64906f58b631d966bd250acb07021cc479
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 7 Jul 2016 10:13:07 +0000 (19:13 +0900)]
Implement pkg enable/disable
Related changes
[slp-pkgmgr] https://review.tizen.org/gerrit/78917
[pkgmgr-server] https://review.tizen.org/gerrit/78918
[app-installers] https://review.tizen.org/gerrit/78919
[tpk-backend] https://review.tizen.org/gerrit/#/c/79070/
Change-Id: Ia3f1b3eb5dcdf85b2a761af7e42e71a44d42f401
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 15 Jul 2016 02:37:24 +0000 (11:37 +0900)]
Delete certinfo first when save certinfo
Change-Id: I35f5dccda6620b699fde963c2cb8ee9563838f6c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Thu, 7 Jul 2016 09:13:16 +0000 (18:13 +0900)]
display storage info from "pkgcmd -l" output.
Change-Id: I1bbbdc770d1f1775c402467a7027a029109b34d0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 29 Jun 2016 10:36:11 +0000 (19:36 +0900)]
apply new error code
Change-Id: Ie4fb57cc66bd8bb96fea4ca9ea8a5fd76f81d87a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 28 Jun 2016 08:57:38 +0000 (17:57 +0900)]
add local PATH env.
Change-Id: I1e05d631b0af0dbfb1c1fa93e460a627f25ff49c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Mon, 27 Jun 2016 05:25:51 +0000 (14:25 +0900)]
Clean up repository
Remove unused files. (pkg_initdb)
Remove excutable bit from source file.
Change-Id: I6ee19dc01abc79c99606c3be782906add45401b9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 17 Jun 2016 07:00:14 +0000 (16:00 +0900)]
Fix pkgcmd
pkgtype is not a mandatory option for install request
Change-Id: I1b41754ace0b6946df03a53c4a03c44d6725d820
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Fri, 10 Jun 2016 06:50:15 +0000 (15:50 +0900)]
set label to prevent execution by non-system application.
Change-Id: Ia071ef3b93043a9d0e868c8597152b85c9e5fd9e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Mon, 30 May 2016 07:06:33 +0000 (16:06 +0900)]
change process of move request to wait return value
Change-Id: I782e6fad4d4586538f46c4671818b03a5e740ab2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Fri, 27 May 2016 08:34:15 +0000 (17:34 +0900)]
add clearing cache for external storage.
Change-Id: I2f798d7f4b08d3e16f721dba61620b7e2b3d2541
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 27 May 2016 06:22:47 +0000 (15:22 +0900)]
add getting pkg size of external storage.
fix 'get_size' event signaling.
Change-Id: Idebb0f4e37c89828206e290a499615ca72cd7706
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 27 May 2016 01:32:54 +0000 (10:32 +0900)]
add new option to get pkgsize for pkgcmd
new option calls api which is called by application.
fix the problem that the value of result_file for some request is always 0.
Change-Id: I30c0a0cc697a86e75bd8e3b88f56f1db43b2ada8
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Wed, 18 May 2016 05:45:01 +0000 (14:45 +0900)]
Add pkg rsc slice tool from tizen_2.4
Migrate rsc-slice tool from tizen_2.4
Change-Id: Ibd4c2e335109086032ad41260f71fe9b122b6b57
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 17 May 2016 07:11:05 +0000 (16:11 +0900)]
Remove features regarding blacklist
Change-Id: I22e28c980854146dd8957d7e2fb4685e6a77d619
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Tomasz Iwanek [Wed, 30 Mar 2016 11:57:42 +0000 (13:57 +0200)]
Remove pkg_initdb binary
This binary is moved to app-installers with name "pkg_initdb".
Requires to be submitted with:
- https://review.tizen.org/gerrit/64204
Change-Id: I4b2d6c2291ca3753492eede9c2ebdecb1dd5416f
jongmyeongko [Tue, 10 May 2016 02:51:16 +0000 (11:51 +0900)]
Remove preload tpk files after installation.
And, skip pkg_initdb if there is old db file.
Change-Id: Ie7f004bc30d3d5ee8d3ecd432e77f34056025cd7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Mon, 9 May 2016 15:41:21 +0000 (17:41 +0200)]
Fix pkgmgr-create-delta.sh.in
To verify, generated delta file from two version of widget:
$ pkgcmd -X v1 -Y v2
and check that delta includes removed and added files.
Change-Id: Ic6d90018214f7b689d70b1cfb30fbdd3bc792cc2
Tomasz Iwanek [Mon, 18 Apr 2016 14:38:25 +0000 (16:38 +0200)]
Mount install option for pkgcmd
To verify, check that pkgcmd can run mount install request:
$ pkgcmd -t wgt -w -p $package_path
$ pkgcmd -t tpk -w -p $package_path
Requires:
- https://review.tizen.org/gerrit/#/c/66569/
Change-Id: Iabcbe842a722fd042d96f04a1ed3cadd6dbd7f02
Junghyun Yeon [Thu, 21 Apr 2016 05:36:25 +0000 (14:36 +0900)]
Fix dependency issue
Change-Id: Iea14887ebe7a58705fc1c37ba7e5be252f52b4e1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 19 Apr 2016 09:51:34 +0000 (18:51 +0900)]
Remove setuid bit from pkg_initdb
setuid bit is no more needed.
Change-Id: I7619a7d6869abf27b64c669a6939be46d904fa46
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 19 Apr 2016 00:48:44 +0000 (09:48 +0900)]
Fix build issue, cleanup dependency
Change-Id: I8dfcfcfa1b0bd17f8e7098f291e9638bfdc0da0e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Wed, 30 Mar 2016 07:14:56 +0000 (16:14 +0900)]
implement pkg move
changes are applied in these repos
[pkgmgr-tool] https://review.tizen.org/gerrit/#/c/64121/
[slp-pkgmgr] https://review.tizen.org/gerrit/#/c/64122/
[pkgmgr-server] https://review.tizen.org/gerrit/#/c/64123/
Change-Id: I9735f22fc48d48e80979442a8d49e80663c5e6f6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 8 Apr 2016 12:45:33 +0000 (21:45 +0900)]
Fix pkg_getsize
Some directories size should be excluded.
Change-Id: Ic41f2537223ee83bb64114eb0676812b5138ad1f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Tomasz Iwanek [Thu, 24 Mar 2016 10:52:10 +0000 (11:52 +0100)]
Modify scripts to create proper delta package for wgt-backend
Always add "config.xml" and "tizen-manifest.xml" file to delta package.
Change-Id: Iae8f1fa193334de8993fdf6fce3da1b7422994b6
Myungki Lee [Mon, 28 Mar 2016 05:04:34 +0000 (14:04 +0900)]
Use thread-safe function
Change-Id: If3d7bbff9d3e5e6466851a473300a6205d51ff65
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Junghyun Yeon [Fri, 25 Mar 2016 09:19:43 +0000 (18:19 +0900)]
change functions for thread-safe
Change-Id: I3838b267dda0cbbc82a444a389255412ddaf89b3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Wed, 23 Mar 2016 07:35:19 +0000 (16:35 +0900)]
add watchapp for pkginfo
Change-Id: Ic93ea2d96f8477d205bf1b83669b202ff79c0cbb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Tue, 22 Mar 2016 08:37:46 +0000 (17:37 +0900)]
Fix coding style
Change-Id: Ibb9d241adafabd1023a52880d304f6e4827d8416
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Thu, 17 Mar 2016 08:08:16 +0000 (17:08 +0900)]
fix wrong path for processing RW packages
Change-Id: I79c15d790cb4cbffef94366fb6c7f0f41323c0a3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 21 Mar 2016 01:41:18 +0000 (18:41 -0700)]
Merge "handle postscrpt fail." into tizen
jongmyeongko [Wed, 16 Mar 2016 08:40:07 +0000 (17:40 +0900)]
do not support parsing and db-control via pkginfo.
Change-Id: I5acd2205ca77a4cd8b3ce7653e6fa0510410e2f0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 15 Mar 2016 10:16:12 +0000 (19:16 +0900)]
handle postscrpt fail.
Should be merged with:
https://review.tizen.org/gerrit/#/c/61686/
Change-Id: Ie025fbb28c96d979a794c6893067da732db98c3c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Fri, 18 Mar 2016 08:06:48 +0000 (01:06 -0700)]
Merge "Handle error case on execl failed" into tizen
Sangyoon Jang [Fri, 18 Mar 2016 05:32:43 +0000 (14:32 +0900)]
Handle error case on execl failed
Change-Id: I02b91937306a44affb17cf7e7b404a08215dcf2b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Tue, 15 Mar 2016 08:39:51 +0000 (17:39 +0900)]
change functions for thread-safe
Change-Id: I5d512626df6b532914b5d9a548cfd16ef8846b54
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Mon, 7 Mar 2016 08:48:48 +0000 (17:48 +0900)]
fix coding styles and change keyword 'entry' to more readable one.
Change-Id: I7603251b6fce3881aec3ad379e6e565e956ce283
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Sat, 12 Mar 2016 05:26:42 +0000 (14:26 +0900)]
suppress build warnings
Change-Id: Iea0c6ccb96fbd96d9d3dfffd7a0757b34d3a116e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Wed, 9 Mar 2016 09:14:18 +0000 (18:14 +0900)]
add debug-mode option (-G)
Change-Id: I0a69aa9eccc92a581605b5a0a49ab40d57568124
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Sun, 6 Mar 2016 06:04:09 +0000 (15:04 +0900)]
use strncat instead of strcat for secure code
Change-Id: Ia485a0c92c8f0f691c30c462178f23cb234ccdd0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Tue, 23 Feb 2016 12:59:04 +0000 (21:59 +0900)]
add a tool for preload tpk install
Change-Id: I87fe3e12dae579f3f387d6774981971f5f06b8a3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Fri, 26 Feb 2016 04:33:15 +0000 (13:33 +0900)]
Fix getting appinfo
Consider widget application also.
Change-Id: I789262f7e1c711f5d8db5e7b700337f9e30db01f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>