jongmyeongko [Tue, 22 Mar 2016 06:59:03 +0000 (15:59 +0900)]
add force-removal option for installer.
usage(root only):
tpk-backend -d {pkgid} --preload --force-remove
Change-Id: I0a8e9ddb787d3ae55cb9832ae3bf7918c97fa9fe
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Wed, 16 Mar 2016 11:53:09 +0000 (20:53 +0900)]
seperate app enable/disable signal parameter
Change-Id: Ie38784869255bf35679895f5f4f0f0e7432e878b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 21 Mar 2016 06:21:38 +0000 (15:21 +0900)]
redefine pkg queues
Change-Id: Ieffcd2eb4c26f2d6f03dfda5dd12eeab3a21694b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 21 Mar 2016 02:25:22 +0000 (11:25 +0900)]
Send signal with target_uid instead of getuid()
Change-Id: I9a27872c3fbafe9aebd406263c516b8898862a22
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Sat, 12 Mar 2016 04:39:44 +0000 (13:39 +0900)]
fix and add some prototype to suppress build warnings
Change-Id: Ib62e03d5ac11ae4e9ed8c40014f6433d9fd94703
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 11 Mar 2016 11:46:18 +0000 (20:46 +0900)]
- change enum value of COMM_STATUS_BROADCAST_ALL
to cover enable/disable of app
- remove useless code
Change-Id: I7831215bbb64a55c116126606109aed8dd17a6b1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Mon, 7 Mar 2016 08:43:29 +0000 (17:43 +0900)]
add missing declaration for tep related function.
Change-Id: I5c129b59b69b7698a7fdae16e5238fb2370cf432
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Wed, 2 Mar 2016 07:01:19 +0000 (16:01 +0900)]
changes to app signal work properly
Change-Id: Ie3fc60733b9bddeee92df09596145a85fec7afeb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 25 Feb 2016 03:13:11 +0000 (12:13 +0900)]
Remove sample backend code
These codes are out-dated.
Change-Id: I65b798eecca2eac4db8606d1efeea34ff1693b30
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeong ko [Wed, 24 Feb 2016 09:15:50 +0000 (01:15 -0800)]
fix build error that 'rpm' conflict with file from tpk-backend package
This reverts commit
e416196f661ee7e34860993d802f70a4f423e2b0.
Change-Id: Icc47a52e6aed048c8c8f26c8a0dace0afaf1d327
jongmyeong ko [Tue, 23 Feb 2016 11:26:18 +0000 (03:26 -0800)]
Revert "clear 'rpm' related code"
This reverts commit
c0a0d7ca6485f1fc9c70994bbf2e578f60cf5fc3.
Change-Id: Ife60abc72f9d6d31deb5ef3e636d9610ea9b649e
jongmyeongko [Tue, 23 Feb 2016 07:21:35 +0000 (16:21 +0900)]
change the name of optional_file argument to more common one.
Change-Id: Iad1f4ec4b021cbd33e91db8aa207c93780d20085
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Thu, 18 Feb 2016 03:17:23 +0000 (12:17 +0900)]
clear 'rpm' related code
Change-Id: I4a7099ff8b62a6051d06aaf3bde8dc8e1b54eaea
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 3 Feb 2016 12:33:05 +0000 (21:33 +0900)]
add 'preload' as long option
this option represents current request is for preload app.
Change-Id: Icdbb43bff3e716bea082bea6b51103276d774559
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Thu, 28 Jan 2016 12:45:53 +0000 (13:45 +0100)]
Add define PKGMGR_INSTALLER_CLEAR_EVENT_STR
Change-Id: I377dc2e4a45f8d57302941d75911e96006ca5805
Junghyun Yeon [Mon, 25 Jan 2016 06:15:11 +0000 (15:15 +0900)]
Implement app signal related with app disable/enable
Changes applied at
[pkgmgr-tool][pkgmgr-info][slp-pkgmgr][pkgmgr-server]
Change-Id: I0e7af16a23329fd4f364e6d5932e8bc24d43ef0a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 28 Jan 2016 06:42:39 +0000 (15:42 +0900)]
Fix getsize method call parameter
uid was missing
Change-Id: I493bc74144a732329fdc58c50e06dc0dd865deca
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 21 Jan 2016 01:14:57 +0000 (10:14 +0900)]
Add add/remove blacklist apis
Change-Id: I40e3722ac18de46e260004851809651277987dc3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Wed, 27 Jan 2016 02:24:48 +0000 (11:24 +0900)]
remove unnecessary codes.
Change-Id: If2e7343820977966ea680afe34f86be5c07d4e84
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Pawel Sikorski [Tue, 26 Jan 2016 14:06:38 +0000 (15:06 +0100)]
fix cppcheck warnings
fixing some problems found by cppcheck
Change-Id: Idc8013419db9d9ca391e70750d30da4a1bc07f61
Tomasz Iwanek [Tue, 4 Aug 2015 11:54:47 +0000 (13:54 +0200)]
Introduce recovery option to pkgmgr_installer
Pkgmgr declares enum value for recovery installaton
but there is no way for backend to run with this option
as there is missing parsing in pkgmgr_installer_receive_request
which backend is supposed to use.
Adding processing -b option as PKGMGR_REQ_RECOVER in
pkgmgr_installer API.
Note: app-installers backends will expect invocation:
backend -b /home/guest/apps_rw/recovery-%%%%%%
where file is recovery file generated by interrupted
installation process.
Even the pkgmgr doesn't implements recovery now.
App-installer needs any command line opton to run this mode
when launched from commandline.
Optional parameter of recovery mode is recovery file but if
pkgmgr will support recovery in future, it is supposed that
this may change. This is set in this form for now.
Change-Id: I970607adcb4465e93a84eb774a0d75504cd443d2
Junghyun Yeon [Wed, 20 Jan 2016 05:21:29 +0000 (21:21 -0800)]
Merge "Each user can enable/disable global app separately" into tizen
Junghyun Yeon [Wed, 13 Jan 2016 08:18:26 +0000 (17:18 +0900)]
Each user can enable/disable global app separately
Changes applied at [slp-pkgmgr][pkgmgr-info][pkgmgr-server]
Change-Id: Id436a29fb2ba436e38adfac0427affcc1bccc47f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 14 Jan 2016 06:51:14 +0000 (22:51 -0800)]
Merge "Fix g_variant value to work kill/check command properly" into tizen
Junghyun Yeon [Wed, 13 Jan 2016 08:22:30 +0000 (17:22 +0900)]
Fix g_variant value to work kill/check command properly
Change-Id: I840dd34951760a3a836f88541b21672092f3bdbd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Tomasz Iwanek [Tue, 5 Jan 2016 14:09:54 +0000 (15:09 +0100)]
Add extra constructor for pkgmgr_installer for offline mode
This API will be used by app-installer to install manifest
while creating tizen image. Dbus is not available in that case.
Change-Id: I49eaeee83153dd7d0941f31cfa58e0bfa44aa43f
Tomasz Iwanek [Mon, 21 Dec 2015 13:49:35 +0000 (14:49 +0100)]
Reduce number of arguments for PKGMGR_REQ_MANIFEST_DIRECT_INSTALL
Only pkgid is needed.
Requires:
- https://review.tizen.org/gerrit/55079
Change-Id: Idf7cee0d476e5a193868833249ed43662166927c
jongmyeongko [Wed, 6 Jan 2016 07:43:52 +0000 (16:43 +0900)]
new package command error codes for 3.0
Change-Id: I63d144ff90b48b2834cccdc04b2f943112a3e8e1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeong ko [Mon, 4 Jan 2016 08:20:30 +0000 (00:20 -0800)]
Revert "remove pwdutils dependency"
This reverts commit
4d9ce8368e67228e103afb7b62a4f7f672848634.
Change-Id: I8811ed92e7a3b7374659c10d3ffa2c1ab539fc5d
jongmyeongko [Tue, 29 Dec 2015 07:43:53 +0000 (16:43 +0900)]
remove pwdutils dependency
Change-Id: Icb76d70c4a3c71d6c0aeec801f79067b49c32fcd
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 16 Dec 2015 10:48:50 +0000 (19:48 +0900)]
move header files from 'pkgmgr' package to devel pacakge.
Change-Id: I64626b7474344016402015a78e961fef494e8e37
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Mon, 30 Nov 2015 08:30:40 +0000 (17:30 +0900)]
Remove unused variable
Change-Id: I3d7e18726d1850fca1cf79026e9455188708a892
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 30 Nov 2015 08:28:23 +0000 (17:28 +0900)]
Fix pkgmgr_client_clear_cache_dir
add missing input argument
Change-Id: Ida18176a379500277b3f08a80fcd034c0812ba23
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 26 Nov 2015 10:19:18 +0000 (19:19 +0900)]
Add drm related apis
ADDED:
pkgmgr_client_generate_license_request
pkgmgr_client_register_license
pkgmgr_client_decrypt_package
Change-Id: I92f97b457e04be5efae8e659ec052ad3d15d332b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Tue, 17 Nov 2015 01:08:12 +0000 (10:08 +0900)]
allows to add db information of manifest direct installed app
[app-installers][slp-pkgmgr]
Change-Id: Ib462d97bcf5b494a5bf947db1a7b29fd72a1aee7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
VBS [Mon, 16 Nov 2015 11:06:18 +0000 (03:06 -0800)]
Merge "implement TEP install, update" into tizen
VBS [Tue, 3 Nov 2015 11:33:55 +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: Ia93fe112076574f9b1f10da10c9e565a29528160
Sangyoon Jang [Wed, 4 Nov 2015 07:49:16 +0000 (16:49 +0900)]
Do not create home directory for tizenglobalapp user
Change-Id: I5a3ee82d5e4c2abdd2f143c6545f9450fd305df1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 2 Nov 2015 06:16:15 +0000 (15:16 +0900)]
Add "pwdutils" as package requires
adduser tool is included at pwdutils package
Change-Id: I0fb7aeaa478708b7c3be1dde7fcfc9b3afb33378
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Thu, 29 Oct 2015 01:54:18 +0000 (10:54 +0900)]
seperate tool and server from slp-pkgmgr (for sync with tizen2.4)
to prevent cyclic dependency
Change-Id: Ibb3b820930b9be2d2496d597b76e7ab52f781e1a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Thu, 29 Oct 2015 01:54:18 +0000 (10:54 +0900)]
Create tizenglobalapp user at post script
- create tizenglobalapp user
- remove chsmack command at post script
(this should be at tizen-platform-config package)
Change-Id: Id5677d84a6a8ab7e7d562cd4bfe52562a8fcba86
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 28 Oct 2015 02:09:30 +0000 (11:09 +0900)]
Set target uid on dbus method call
it is necessary to install global apps
TODO:
allow global app installation only for privileged user
Change-Id: Id08619fc3efe0cece086e51251b8d0d913e89ce3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 6 Oct 2015 08:27:15 +0000 (17:27 +0900)]
Fix pkg_privilege, pkg_install_ug
the structure of package's attributes now uses GList instead of custom
linked list
Change-Id: I5f3b0257b2e2bebfcdb87b90c2e3e0732e144a0d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 19 Oct 2015 06:26:52 +0000 (15:26 +0900)]
Fix intermittent crash
when fails on g_dbus_proxy_call_sync, the g_variant passed is released
automatically because it uses floating reference count.
so we should convert the g_variant to using normal reference count and
handle reference count manually.
Change-Id: I46b41c0d3f89eca3122a293a47e393b455c973e6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 15 Oct 2015 12:32:39 +0000 (21:32 +0900)]
Set public, partner privilege when install preloaded packages
platform privilege includes public and parnter privilege
Change-Id: I00515fff91fe31fc22bda5516a1350693f0196ff
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 15 Oct 2015 10:01:21 +0000 (19:01 +0900)]
Set default privilege when install preloaded packages
set platform level temporarily
this tool will be merged to app-installer
Change-Id: Ic4f852a17216ce1437c66e8380745cdf4d97f04c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 2 Oct 2015 02:44:53 +0000 (11:44 +0900)]
Use application_x instead of service/uiapplication_x
Change-Id: I5aa31a574048d335b8917f0657699efdf5df7dfa
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 2 Oct 2015 02:43:54 +0000 (11:43 +0900)]
Remove pkgmgrinfo_pkginfo_get_package_size in pkg_info.c
Change-Id: Ic02ab31c64a2901a63556b0e3abadecf6bfc3e8b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 30 Sep 2015 10:26:37 +0000 (19:26 +0900)]
Check if the given package is accessible when install package
Change-Id: I332bf6748549c78fd4c59b38dd34529fc1a45561
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 30 Sep 2015 08:29:53 +0000 (17:29 +0900)]
Fix install api
get pkg type of given pkg if the pkg_type is not passed
Change-Id: Ia161a393d1cac626b0e7a250b9bcea5c77f73b0f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 30 Sep 2015 05:58:42 +0000 (14:58 +0900)]
Fix return value when the given package is not exist
should return error code of invalid parameter
Change-Id: I13bf87a8f9deabfe1ebd42c8821cabb8d9cc31e7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 23 Sep 2015 05:36:13 +0000 (14:36 +0900)]
Fix clear cache
fix return value of pkgmgr_client_usr_clear_cache_dir in case of invalid
parameter
fix dbus method parameter type of clear cache request
Change-Id: I70c1059c6661761497bada49423dc89bd6d575e1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 23 Sep 2015 05:02:56 +0000 (14:02 +0900)]
Fix sending finished signal in pkg_getsize
Change-Id: Id4f8c8f129453498f56c4a825337abfb7f603479
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 23 Sep 2015 05:01:26 +0000 (14:01 +0900)]
Fix return value of pkgmgr_client_get_size
Change-Id: I43e2c7c7e8b5d81f86d7fd5939bfaf2a09dbc62d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 22 Sep 2015 06:04:34 +0000 (15:04 +0900)]
Revise pkgmgr_installer_send_signal
fix PKGMGR_INSTALLER_UPGRADE_EVENT_STR to "update"
add PKGMGR_INSTALLER_APPID_KEY_STR
add PKGMGR_INSTALLER_ERROR_KEY_STR
Change-Id: Ie09e07c704645c75be446278f9bd28dd741f2ce1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 3 Sep 2015 11:29:40 +0000 (20:29 +0900)]
Fix prevent issues
fix resource leak
fix null pointer dereferences
fix using uninitialized value
fix control flow issues
Change-Id: I0ac1937f5e26ad6929465605830ca918ce578b52
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 3 Sep 2015 06:23:42 +0000 (15:23 +0900)]
Revise client api
get request key from server, do not generate in client side
generate arguments for backend in server side
refine request type to handle client request by each type
Change-Id: Ifd93d5acbeb7a2beb911d8ec01f844bff7a7b6d4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 27 Aug 2015 03:57:15 +0000 (12:57 +0900)]
Check privilege via dbus-daemon
split dbus method to each request type
set privileges to each dbus method
Change-Id: Iec515763f0b34baaf0aac8fee1e5098d272df656
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Fri, 3 Jul 2015 07:50:05 +0000 (16:50 +0900)]
[pkgmgr] implement sending key-value signal with appid-[actual_appid] for webAPI support
Change-Id: Ic688bbba1ce1098a409ff368f2f9654d44904765
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 14 Sep 2015 09:56:51 +0000 (18:56 +0900)]
Check and make bin directory for ug packages
Change-Id: Ic6a37a1bc5291d8bdc2a2f60a4b31d3a08324ead
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 14 Sep 2015 06:59:05 +0000 (15:59 +0900)]
Fix get_size result file path
create result file at /tmp/pkgmgr/
set smack label to result file as "*"
note that this method(result to tmp file) will be changed later
(this is workaround)
Change-Id: I4cda27a0e3e06bcbe1a59d9e92d6b69b599884df
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 11 Sep 2015 08:40:56 +0000 (17:40 +0900)]
Retry when sending request failed
Change-Id: Ia6c1bb0a9b71745158f8e43edb9d8c5acf711480
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 7 Sep 2015 08:43:41 +0000 (17:43 +0900)]
Fix crash at client api
check the handle is null when error case
Change-Id: Iaffd67391dd8ca36bafb76399d227bad43ce92a4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 7 Sep 2015 05:53:46 +0000 (14:53 +0900)]
Fix checking privilege
fix input parameter order
Change-Id: Iffaeb985ce5d57136c234da9cdbdf01c9a7f884d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 7 Sep 2015 05:34:04 +0000 (14:34 +0900)]
Fix labeling rule on preloaded pkgs
the rules which are same with private pkgs:
<pkgid>/ -> User::Home
<pkgid>/shared -> User::Home
<pkgid>/data -> User::Pkg::<pkgid>
<pkgid>/cache -> User::Pkg::<pkgid>
<pkgid>/(others) -> User::Pkg::<pkgid>::RO
Change-Id: I26bb1b27df408cc089ec50608d156e54a2bcb310
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 4 Sep 2015 11:31:20 +0000 (20:31 +0900)]
Install smack rule even if fails to get app's root path
some preload applications are not installed at /usr/apps/<pkgid>,
but we should install smack rules for these applications.
these application should fix their installation path
Change-Id: I2acb315004b157f3a8bd251f62068ffdec055d19
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 4 Sep 2015 07:03:46 +0000 (16:03 +0900)]
Fix closing dbus connection
the connection should be freed using g_object_unref
Change-Id: I6f742bf3ca57b493949272ee2120325b312a1913
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 3 Sep 2015 13:26:58 +0000 (22:26 +0900)]
Fix pkg_privilege
install for each applications in the package
Change-Id: I7bd20883844537fd5671c9e9556f98ef6a49ea89
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 3 Sep 2015 02:20:36 +0000 (11:20 +0900)]
Add build requires to dbus-glib-1
this is temporary patch for build break (caused by sync-manager)
this should be removed
Change-Id: I2240c941bd97261945296fa85f5804c6351b7e6a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 3 Sep 2015 01:23:36 +0000 (10:23 +0900)]
Fix path type to SECURTY_MANAGER_PATH_RO
SECURTY_MANAGER_PATH_PRIVATE is no longer available
Change-Id: Ib3f66164d1d656f2efd3efc725d4e1aa5a0ea630
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 26 Aug 2015 01:41:13 +0000 (10:41 +0900)]
Use gdbus instead of dbus-glib
use gdbus at pkgmgr-server
use gdbus at pkgmgr-installer (sending signal)
TODO:
check privilege via dbus
Change-Id: I7892d1cd137f2f4ad9dc90439a47898fdf8b6d1d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 27 Aug 2015 12:43:54 +0000 (21:43 +0900)]
Fix pkg_getsize, add checking clearcache privilege
send signal correctly in pkg_getsize
add handling clearcache request
add privilege for clear cache request
Change-Id: I9b3184ee04e7e5dfc9a50eee606bf48648e4d694
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 27 Aug 2015 05:10:02 +0000 (14:10 +0900)]
Fix double free
Change-Id: Ib8871c2e103d4e1d3995ba39f3f4e5a011e7283d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 21 Aug 2015 05:35:37 +0000 (14:35 +0900)]
Clean up repository, remove warnings
remove ail, ail_vconf dependency
remove po files
remove unused tools
remove old apis:
pkgmgr_get_pkg_list
pkgmgr_info_new
pkgmgr_info_new_from_file
pkgmgr_info_get_string
pkgmgr_info_free
Change-Id: I11fad0b2507f953b3ba6c30eeddc3b34fb40530e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 21 Aug 2015 11:25:30 +0000 (20:25 +0900)]
Don't try to kill running app on uninstall/move pkg
this should be done by installer
Change-Id: I520db7905b615e40cc5b9c77454d2873dd4421c3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 20 Aug 2015 08:36:01 +0000 (17:36 +0900)]
Add filter prop for support-disable on pkg_info
Change-Id: I459d356c6116e9949418a4532c24e510d8a20415
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 20 Aug 2015 05:55:51 +0000 (14:55 +0900)]
Fix pkg_getsize.c
add comments on getsize_type enums
revise pkg_getsize.c
add req_key when launch pkg_getsize
Change-Id: I7be4db21449f15c80ec7e104d328b4389c56c093
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 20 Aug 2015 07:10:59 +0000 (16:10 +0900)]
Fix recovery file path
Change-Id: Ica59f3ef842414846e6108f0aa86ed1beacfc69d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 17 Aug 2015 07:56:07 +0000 (16:56 +0900)]
Fix pkg_privilege
fix getting app root path
installer now creates directory as Tizen 2.3
Change-Id: Iacfde3ccd7811f7633bfcd80bdbed1a58dd067a2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 17 Aug 2015 06:22:34 +0000 (15:22 +0900)]
Add filter prop for package privilege on pkg_info
Change-Id: I2488acb4e45867c2825638e7284dc2645f8633f2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 13 Aug 2015 02:42:40 +0000 (11:42 +0900)]
Add ui-gadget install tool
add ui-gadget install tool
add filter prop for ui-gadget on pkg_info
Change-Id: I18a85e35b046b5fb4d0c1c466ddc2ea9fd8c4864
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 11 Aug 2015 06:59:00 +0000 (15:59 +0900)]
Fix bug in pkg_info
fix double free when input invalid filter property
Change-Id: I20ef8a71af51b959482e25dc12fcc5b9024996e2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 28 Jul 2015 05:58:18 +0000 (14:58 +0900)]
Remove obsolete apis
we should use pkgmgr-info apis instead of pkgmgr_pkginfo_* /
pkgmgr_appinfo_*
remove pkgmgr-dbinfo.h
Change-Id: I56b8931d547cba4b4cd262e863d88610ff19cf07
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 4 Aug 2015 02:28:46 +0000 (11:28 +0900)]
Set exec_label="User" on pkgcmd
Change-Id: I155652d3d52e4ad40764cd094854be8f39ffafd9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 27 Jul 2015 04:13:38 +0000 (13:13 +0900)]
Fix manifest installation for global app
root user is also for installation of global app
Change-Id: I4b231eb34623b0c4c65ff57e5542c8721fca5327
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 16 Jul 2015 02:06:59 +0000 (11:06 +0900)]
Don't stop when getting label failed during listing pkgs
print "(null)" string instead of error return when failed to getting pkg
label during listing pkgs
pkg label is not mandatory
Change-Id: I463b6829e771f0a01dc7d58e4cf1ea147cf63caa
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 13 Jul 2015 07:40:14 +0000 (16:40 +0900)]
Revise pkg_initdb
pkg_initdb now initialize db for tizenglobalapp user and also regular users
add gumd useradd script(run pkg_initdb)
Change-Id: I9c566919fdf22adb10217efb98be6786ac196ab4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 14 Jul 2015 05:47:25 +0000 (14:47 +0900)]
Remove some logs
remove excessive pkgmgr signal logs
many clients print these logs, but these are not needed that much
Change-Id: I59154c3650c6ec55d31b9f79e821618c68b75d36
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 2 Jul 2015 07:26:16 +0000 (16:26 +0900)]
Remove using removed vconf key
Change-Id: I267cf170bf9419461af3aaae8289cc7ca2b339fa
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 1 Jul 2015 06:21:52 +0000 (15:21 +0900)]
Source update(pkg_getsize.c) from Tizen 2.4
add get_size dbus interfaces
fix client get_size api
Change-Id: Ib74400a978a2aefa17194e9240aa4e548438238c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 30 Jun 2015 12:50:20 +0000 (21:50 +0900)]
Fix kill cmd
iterate for apps of all types
set status 0 when exit when error occured
Change-Id: I6c0a7429df706f28d766010057f5ed8d89f7b684
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 30 Jun 2015 11:37:58 +0000 (20:37 +0900)]
Add privilege uninstall at pkg_privilege
Change-Id: I7d060f6964567e357ca3279afb32c8eb4bcdcdbe
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 26 Jun 2015 10:23:38 +0000 (19:23 +0900)]
Add dummy backend file
to support request for rpm type packages
pkgmgr-server needs specific backend for package type of client request
(if someone wants to request about rpm type packages, pkgmgr-server
needs rpm type backend. (e.g. checking app: pkgcmd -C -n org.tizen.helloworld)
Change-Id: I81950f0e0c316d1f931aa7bff6b65bb5e69e15c3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 26 Jun 2015 01:43:09 +0000 (10:43 +0900)]
Use system default method on getting cynara info
Change-Id: If6fdcbf485f18c28aa4d831b83d7eb246276cb05
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 25 Jun 2015 10:28:21 +0000 (19:28 +0900)]
Allow pkginfo for root user
Change-Id: I22240ee608cb2197734ba21d50d1853256553b04
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 4 Jun 2015 11:44:47 +0000 (20:44 +0900)]
Fix getting appcontrol info in pkg_info.c
Change-Id: I3d7e11e6dadb379a6a3f5f0b53777b5732e6aa91
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 3 Jun 2015 02:53:21 +0000 (11:53 +0900)]
Clean up dependency
add buildrequires: glib, gio, gio-unix, xdgmime
remove unused buildrequires: ecore, appcore-efl
remove unused test code
remove unused tool
Change-Id: Ica276e4c0e88e1273fdeefe1a0ebf14c02f4153d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 2 Jun 2015 06:50:58 +0000 (15:50 +0900)]
Remove notification from pkgmgr-server
TC-2519
remove notification dependency
(don't create popup by pkgmgr-server)
Change-Id: Ief86ac12d936b13e453d6164fca2ff535c8c5c30
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
José Bollo [Fri, 29 May 2015 13:44:52 +0000 (15:44 +0200)]
packaging: improves dependencies
Change-Id: Ie1acc790f15b473a42691c94005eb095efba5ff4
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Sangyoon Jang [Tue, 26 May 2015 06:43:38 +0000 (15:43 +0900)]
Fix for check, clearcache, getsize
make dummy backend files for check, clearcache, getsize command
Change-Id: I319566464fc6e63a5ea663b3354c818bdacf235e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>