summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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>
jongmyeongko [Wed, 24 Feb 2016 06:48:00 +0000 (15:48 +0900)]
modification for seperation of RO/RW location
Change-Id: I1c6123fabe5dfedcceacd7962908f2536cc03b69
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Thu, 18 Feb 2016 03:16:41 +0000 (12:16 +0900)]
clear 'rpm' related code
Change-Id: I14d01aab4298afbc26a26ddd5d56591560a64ebe
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Thu, 4 Feb 2016 11:55:16 +0000 (20:55 +0900)]
Add posttrans section to run pkg_initdb
pkg_initdb is runned by kickstart currently, but we run here to manage
easily
Change-Id: Id58b1f5e922ebedfe97a0c9c7e56d2205e4e15fb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Arkadiusz Szulakiewicz [Mon, 28 Dec 2015 15:37:25 +0000 (16:37 +0100)]
Run 'pkg-install-manifest' from pkg_initdb
Depends on:
https://review.tizen.org/gerrit/57511
Change-Id: I142846bfb2c4c8a9d710e19d72c3077b0b2a54c9
Junghyun Yeon [Mon, 25 Jan 2016 06:13:18 +0000 (15:13 +0900)]
Implement app signal related with app disable/enable
Changes applied at
[pkgmgr-tool][pkgmgr-info][slp-pkgmgr][pkgmgr-server]
Change-Id: I83150dde0b73b1f1a234b0ea31249dd1d342cad3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 1 Feb 2016 02:54:52 +0000 (11:54 +0900)]
Add blacklist commands
add blacklist commands
use macro for opt value instead of constants
Change-Id: Ic09994716c7464084cc59d8f441c6ecc4075425e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 28 Jan 2016 06:44:39 +0000 (15:44 +0900)]
Fix pkg_getsize, pkg_clearcache
argv[0] should be excutable path
adjust coding style
Change-Id: Id0de72d7fed19497d92c0e7919a360bdd15c9221
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Yunjin Lee [Tue, 26 Jan 2016 08:43:28 +0000 (17:43 +0900)]
Revise dependency on privilege-manager
Change-Id: Id21c8fc1a243acf5be4087004963cf218ce47eaf
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
jongmyeongko [Mon, 18 Jan 2016 04:20:31 +0000 (13:20 +0900)]
Remove short-option for global-mode.
Instead, use long_option(--global).
The 'G' option has been used for debug-mode since tizen_2.4.
The SDK install/update/re-install the package with 'G' \
to support the debugging environment on demand.
Change-Id: I8f8afa8e3341af963852ee363d942788e2c858f2
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 6 Jan 2016 08:29:22 +0000 (17:29 +0900)]
apply new package command error codes
dependency : https://review.tizen.org/gerrit/#/c/56333/
Change-Id: I554e321ee44c98a3c0440cfb128e51c36da48dfc
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Thu, 17 Dec 2015 06:33:18 +0000 (15:33 +0900)]
modify spec file, change BuildRequires to Requries for unzip
Change-Id: I92036ea69d16fb900d8d5adcf2b58523e567858a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Mon, 14 Dec 2015 07:58:37 +0000 (16:58 +0900)]
Convert privileges for compatibility
convert privileges for compatibility before security context
installation.
it also filters wrong privileges.
Change-Id: I22b03f6493e9b56122919d3a7512180643b74b36
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Thu, 19 Nov 2015 01:53:36 +0000 (10:53 +0900)]
fix crash issue from duplicated destory call.
Change-Id: Icd5a2d50c8ae7ee52b4fdbe3757dce8d61973bed
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 17 Nov 2015 02:17:02 +0000 (11:17 +0900)]
merge 2.4 & fix errors for delta generation feature
Change-Id: I55636b07fcaa4d00408f2415dbdd01244ed0c0ac
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
VBS [Tue, 3 Nov 2015 11:33:11 +0000 (20:33 +0900)]
implement TEP install, update
[app-installer][pkgmgr-info][pkgmgr-server][pkgmgr-tool][slp-pkgmgr]
Signed-off-by: VBS <jungh.yeon@samsung.com>
Change-Id: Ibc3978dd5e78fee5232f38d2e41099c2b4a8cb98
jongmyeongko [Thu, 29 Oct 2015 07:27:54 +0000 (16:27 +0900)]
seperate tool from slp-pkgmgr project
this change is for preventing cyclic dependency.
Change-Id: I59cfc691218a592a8ba88497802de8993604538c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
KyungMi Lee [Wed, 28 Oct 2015 05:01:33 +0000 (22:01 -0700)]
Initial empty repository