Junghyun Yeon [Tue, 18 Jul 2017 02:28:10 +0000 (11:28 +0900)]
Release version 0.7.3
Changes:
- Fix unfreed memory
Change-Id: Idb022dd8d65cbea22c4999a0310bd4a2026d60b4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Wed, 12 Jul 2017 08:43:00 +0000 (17:43 +0900)]
Fix unfreed memory
the memory is for privilege_list of pkginfo which is set by backend lib.
Change-Id: I4957da14cc80ee47e22842f72ef4605a16ee3a99
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 7 Jul 2017 02:20:44 +0000 (11:20 +0900)]
Release version 0.7.2
Changes:
- Remove posttrans requires
- Redirect the output of 'pkgcmd -l' from stdout to stderr
Change-Id: I3139da40d2fd4be5dfd820acea7672d36b349c03
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 7 Jul 2017 02:03:03 +0000 (11:03 +0900)]
Remove posttrans requires
IoT Core doesn't need pkgmgr-tool package in runtime.
But, this 'requries' leads to add pkgmgr-tool in binary.
Change-Id: I6354a10cc0064378080877aceaa88d5b0c67c712
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 5 Jul 2017 11:27:41 +0000 (20:27 +0900)]
Release version 0.7.1
Changes:
- Redirect the output of 'pkgcmd -l' from stdout to stderr
Change-Id: I5367940530aff12c73b71b2b338c7cd9eb2e9ec0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 3 Jul 2017 12:31:36 +0000 (21:31 +0900)]
Redirect the output of 'pkgcmd -l' from stdout to stderr
Change-Id: I81671ea99ea81e8d4af6d9376d0399bf6e8f1c79
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Fri, 30 Jun 2017 02:06:23 +0000 (11:06 +0900)]
Release version 0.7.0
Changes:
- Fix posttrans section in spec file
- Change value of PKGMGR_CLIENT_STATUS_ALL
- Revert "Add new error code for recovery process done"
Change-Id: I41c907885728bc9e18c5b001240a7d3fa10a3efc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Bartlomiej Kunikowski [Wed, 14 Jun 2017 12:19:28 +0000 (12:19 +0000)]
Revert "Add new error code for recovery process done"
This reverts commit
e39b707badcbed39b6e099279d75925a9c3393a2.
Change-Id: I3fcbdb8205aded3bb7f29348beb456e83fb835db
Junghyun Yeon [Wed, 21 Jun 2017 05:27:30 +0000 (14:27 +0900)]
Change value of PKGMGR_CLIENT_STATUS_ALL
- Change its value due to additional value, clearcache
Change-Id: Ia1da03f1bdc44c813aa974551482cc66ea766737
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Hwankyu Jhun [Tue, 13 Jun 2017 00:48:26 +0000 (09:48 +0900)]
Fix posttrans section in spec file
- Fix typo
- Add dependencies about tools
Change-Id: I35a2a593de4983e22da96b1108411c35b7eb3aad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Fri, 9 Jun 2017 02:15:51 +0000 (11:15 +0900)]
Release version 0.6.2
Changes:
- Excute some scripts at posttrans section
Change-Id: I9babc84dc4aaee22a5d1f5c67c109adcd9adc05b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Wed, 31 May 2017 10:02:04 +0000 (19:02 +0900)]
Add scripts
- Move pkg_initdb related scripts from pkgmgr-tool
- Add scripts to execute label change
Change-Id: Ib826154fb0ac1622aec374e69ed10f3fa8755499
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 1 Jun 2017 00:27:53 +0000 (09:27 +0900)]
Release version 0.6.1
Changes:
- Add new pkgmgr_installer_info API
Change-Id: Ie71b15307d17e0630789966b9e74e766af7c12ac
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Fri, 19 May 2017 02:36:16 +0000 (11:36 +0900)]
Add new pkgmar_installer_info API
to get privilege_level info of the package which
is being processing by installer currently.
Change-Id: Ic522a61c8b79c25e01f7e5c161dd8d2f91f3d572
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Fri, 21 Apr 2017 01:59:35 +0000 (10:59 +0900)]
Release version 0.6.0
Changes:
- Add clinet functions for pkg update info
Change-Id: I8f7bc317effa660ee2ea0f0c3e90920fc84f1c4f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 30 Mar 2017 05:31:50 +0000 (14:31 +0900)]
Add client functions for pkg update info
- Add methods to be used to request register/unregister pkg update info
Related changes:
[pkgmgr-server] : https://review.tizen.org/gerrit/122067
[pkgmgr-info] : https://review.tizen.org/gerrit/121964
Change-Id: I2e6abbef46651967e17bfb6a12b7fed5894a6aa7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 7 Apr 2017 04:57:58 +0000 (13:57 +0900)]
Release version 0.5.2
Changes:
- Use %license macro to copy license file
- Remove unused build dependency & macro
Change-Id: I601d310fe3afbe3a365727fb277b86f608954399
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 7 Apr 2017 04:57:08 +0000 (13:57 +0900)]
Remove a unused build macro
Change-Id: I37fe2129303047c22b4f99c1e473593bd08a984c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Rafal Krypa [Wed, 5 Apr 2017 19:20:57 +0000 (21:20 +0200)]
packaging: drop no longer used build dependency on security-manager
The need for that dependency has been removed in commit
0a63eca034
(seperate tool and server from slp-pkgmgr (for sync with tizen2.4))
Change-Id: Ic0988a5ffb990397b8d6eea7a9f1b2c0172a98a5
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Sangyoon Jang [Thu, 23 Mar 2017 02:14:12 +0000 (11:14 +0900)]
Use %license macro to copy license file
Change-Id: Id60e39add11af98b5685e408db9c4142328c7f45
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Fri, 17 Mar 2017 06:42:18 +0000 (15:42 +0900)]
Release version 0.5.1
- Get pkgtype from contents of file, not extension
Change-Id: I9fdef8ce77f1babf0b3cc20d200dba91ec9f7f26
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Bartlomiej [Tue, 14 Mar 2017 11:54:55 +0000 (12:54 +0100)]
Add new error code for recovery process done
It is needed for properly detection and handling when
recovery process is terminated.
Submit together:
- https://review.tizen.org/gerrit/#/c/118914/
Change-Id: I9732e35098184e4d5225221f7911c64f7a5372a8
Junghyun Yeon [Thu, 16 Mar 2017 06:15:18 +0000 (15:15 +0900)]
Get pkgtype from contents of file
- There are some wgt package packed as tpk file at store
so fix to get pkg type from contents of file.
Change-Id: Ie9fbf4df03134946631fb55ec0d135d92c33cc37
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Sat, 4 Mar 2017 08:39:27 +0000 (17:39 +0900)]
Release version 0.5.0
Changes:
- Add deactivate/activate apps internal APIs
- Fix enable/disable app to return request id
- Fix APIs to receive userdata for callback
Change-Id: Id27f363ba684b166607aa3239c23967f2023d9d1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Wed, 22 Feb 2017 05:40:01 +0000 (14:40 +0900)]
Add deactivate/activate apps internal APIs
Related changes:
[pkgmgr-server] : https://review.tizen.org/gerrit/115924
Change-Id: I2fbbc40cde9bc840be20ee7f5c7b819e8f515096
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 20 Feb 2017 05:04:28 +0000 (14:04 +0900)]
Fix enable/disable app to return request id
- Fix enable/disable internal APIs to return request id
Change-Id: I7e9dabc286e43b48fda7faa90a50f66947ef7fb5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 14 Feb 2017 09:01:34 +0000 (18:01 +0900)]
Fix APIs to receive userdata for callback
Change-Id: Iffaf58933ae77c010168e9eb2975ed51456a77a3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 9 Feb 2017 06:37:23 +0000 (15:37 +0900)]
Release version 0.4.0
Changes:
- Fix memory leak
- Remove PM_RESTRICTION_REINSTALL
Change-Id: Ic72379533fceadc38409e022bc634656ebc38579
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 6 Feb 2017 01:31:09 +0000 (10:31 +0900)]
Remove PM_RESTRICTION_REINSTALL
Reinstall is a kind of update.
Change-Id: I692e183d698d6d3cedeb49c8f2429412c6a86dce
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Wed, 25 Jan 2017 07:12:22 +0000 (16:12 +0900)]
Fix memory leak
Change-Id: I23853c597a9446e8e12d7f9ab211844be6d28ae2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Thu, 19 Jan 2017 06:08:52 +0000 (15:08 +0900)]
Release Version 0.3.0
Changes:
- Apply MSG_NOSIGNAL to the api using 'send' system call
- Remove unused codes
- Fix coding violation
the changes are not signicant but let's start new minor version
as the first relase version.
Change-Id: I65e210a75491a23ef71cf0322d15bcb1470e97a6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Thu, 19 Jan 2017 06:04:08 +0000 (15:04 +0900)]
Make the library version to be same as the pakcage version
Change-Id: Ib5af69fc93cfd13eade47f8342ea8b84692f66e7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 18 Jan 2017 06:27:17 +0000 (15:27 +0900)]
Apply MSG_NOSIGNAL to the api using 'send' system call.
From a certain cause, if the pipe is broken, then the process will be aborted unexpectedly
and the remaining behavior of that process will be skipped.
The SIGPIPE signal cause this abort.
So, to prevent the unexpect abort, the MSG_NOSIGNAL flag can be the solution.
Becuase, this flag turns off the signaling caused by current system call.
Even though the signaling is off, the process could know the pipe error from errno(EPIPE).
Change-Id: Ifd35062947a24982b160f0774546a855332c7b94
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Wed, 18 Jan 2017 07:24:26 +0000 (16:24 +0900)]
Remove unused codes
Change-Id: Ic44b93b1e36391b9ffd7578685ff4595637c171c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Wed, 18 Jan 2017 07:11:53 +0000 (16:11 +0900)]
Fix coding violation
Change-Id: Iaab5aeae37c69d40eda00cc2c1eed41f6006de6e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 26 Dec 2016 16:08:42 +0000 (01:08 +0900)]
Support legacy image for backward-compatibility
Refer to:
https://review.tizen.org/gerrit/#/c/104823/
Change-Id: I384e0b4d3e9a80e12bf1810c791f2fa317e947a1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Tue, 27 Dec 2016 08:54:32 +0000 (17:54 +0900)]
Remove unused signal string
- enable/disable_global_app_for_uid signal is integrated with
enable/disable_app signal so remove it.
Related changes:
[pkgmgr-info] : https://review.tizen.org/gerrit/107069
[pkgmgr-tool] : https://review.tizen.org/gerrit/107098
[pkgmgr-server] : https://review.tizen.org/gerrit/107264
Change-Id: I617f30e367f45be08f21208f028bb7fc09a9042d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 4 Jan 2017 06:29:13 +0000 (15:29 +0900)]
Add clear cache signal
Change-Id: Ifaceab310755b7dbb993a95b4da1f6f594256691
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Mon, 19 Dec 2016 05:22:47 +0000 (14:22 +0900)]
Add uid check routine at cleardata functions
- Calling cleardata with global uid will not be allowed
because cleardata will only works for userdata of each user, not pkg itself
Change-Id: I1d1ff1e24f593c080060f16580a40ace17f845f7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Mon, 19 Dec 2016 13:51:25 +0000 (22:51 +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: I4bd5365a78171d0e51314c6fe2ae526889c5c312
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Thu, 8 Dec 2016 07:40:53 +0000 (16:40 +0900)]
Fix app/pkg event callback
- App/Pkg event callback will be invoked only when
app/pkg event has happened
Change-Id: I3fc7b226be209389ec45490f03c756a954e3c90f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 7 Dec 2016 11:22:35 +0000 (20:22 +0900)]
Add debug mode request
Change-Id: I39577120dfa29c360a28fb3974324012eb41f23c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 8 Dec 2016 08:23:59 +0000 (17:23 +0900)]
Fix making gvariant with pkgtype
Change-Id: Ia0a788428da444dfc63a4fbf643bae53fd1c7ec3
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 7 Dec 2016 11:28:58 +0000 (20:28 +0900)]
Fix build warning
Initialize local variable. (-Wmaybe-uninitialized)
Change-Id: I70a8b197feb56924d87d1881e79431feac97150c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Fri, 2 Dec 2016 13:04:58 +0000 (22:04 +0900)]
if it's failed to get the pkgtype from the file, use the pkgtype argument.
Change-Id: Ib4f3d460a10b221253afd8bdb7c2772399225729
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Fri, 9 Sep 2016 02:14:20 +0000 (11:14 +0900)]
Move error codes definition to installer lib
Submit with:
- https://review.tizen.org/gerrit/101409
- https://review.tizen.org/gerrit/101412
Change-Id: Ie8175ab95abf9cda1eff36e5576c17c1f52da721
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Tue, 29 Nov 2016 13:04:27 +0000 (22:04 +0900)]
Implement new options
- keep-rwdata, partial-rw to support RO partition upgrade.
Change-Id: I353fe232596f08b665c76c54405ab3f3284eeceb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Mon, 28 Nov 2016 12:01:23 +0000 (21:01 +0900)]
Add functions for change application label
Related changes:
[pkgmgr-server] : https://review.tizen.org/gerrit/100580
Change-Id: I806d2ab020b53159474676da13b2aff4270ba518
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 28 Nov 2016 11:02:51 +0000 (20:02 +0900)]
Remove unused internal functions
Change-Id: I923a938950471d7f6ec1b10cc02cf607a0acd33c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 28 Nov 2016 10:45:42 +0000 (19:45 +0900)]
Fix getting signal name
Submit with:
- https://review.tizen.org/gerrit/100543
- https://review.tizen.org/gerrit/100544
Change-Id: Ibeca57ed960c3d08236f25a62f40547630c39f4f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 28 Nov 2016 04:40:21 +0000 (13:40 +0900)]
Fix _pkg_plugin_load_library()
Return before loading the library if the library already loaded.
Change-Id: Ia97fca4a27a6e76169dd97b51741994a47ac02a7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Bartlomiej Kunikowski [Mon, 14 Nov 2016 13:17:32 +0000 (14:17 +0100)]
Add getting event name for recovery request type
As key of recovery request type is set to 'install',
event name for recovery request type is set to 'install' also.
Change-Id: Ie27797a14fcc3889195759df623c8145d7b94ef1
Signed-off-by: Bartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
jongmyeongko [Mon, 21 Nov 2016 11:55:05 +0000 (20:55 +0900)]
add new installer options for RW prelaod and no removal
Change-Id: Ice4b36d2f77b33ce0859a22a1b72a167a680355e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Thu, 24 Nov 2016 11:50:01 +0000 (20:50 +0900)]
Remove getting pkgtype at api side
This will be done by pkgmgr-server.
Submit with:
- https://review.tizen.org/gerrit/99923
- https://review.tizen.org/gerrit/99944
Change-Id: Ia2a3a43da1abbad2c2971b6405c7118679cc7768
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 7 Jun 2016 10:31:35 +0000 (19:31 +0900)]
Implement pkgmgr_client_check_pkginfo_from_file
Change-Id: I4dcbabe0b414321718c970e557d335d3727c32c0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 18 Nov 2016 07:06:05 +0000 (16:06 +0900)]
Add missing declaration of pkgmgr_client_reqeust_size_info
Change-Id: I57596f8038a8b94f474e8c37ceae8a29b258e5f5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 8 Nov 2016 08:45:55 +0000 (17:45 +0900)]
Remove auto unsubscribing request event callback
Now client can listen multiple callbacks for one reqkey,
so this auto removing logic should be modified.
This commit removes this logic temporarily.
Change-Id: Ie7219e04c33d1291468087df9f896f6057f8d677
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 8 Nov 2016 07:09:32 +0000 (16:09 +0900)]
Fix pkgmgr_client_enable/disable_packages
Add user event callback.
Change-Id: I72b57130305d74e962a654a6582b4016a246a592
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 4 Nov 2016 00:29:14 +0000 (09:29 +0900)]
Implement new apis for enable/disable multiple packages
Submit with:
- https://review.tizen.org/gerrit/95640
Change-Id: Ic5f01059650552b7e1d1040dcf2cd89f06b887fe
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Thu, 20 Oct 2016 07:48:40 +0000 (16:48 +0900)]
Fix CMakeLists to add files automatically
Change-Id: I2faad2319548ee0c2bcd04490c37d384924cd386
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 28 Oct 2016 02:23:30 +0000 (11:23 +0900)]
Fix a memory leak
Change-Id: I82da1edb86120c3c778e8247b451729f0e7451e1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 25 Oct 2016 10:35:53 +0000 (19:35 +0900)]
Fix compile/linker flags
Add -fPIE, -fPIE flag.
(for applying ASLR)
Change-Id: Icaddc19acd06e41053329596c23432bc3dd60a32
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 20 Oct 2016 07:35:51 +0000 (16:35 +0900)]
Fix memory leak
Change-Id: If1d5ecbffae39f92e31ab97d1ef1f0fe40a07444
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 12 Oct 2016 06:28:54 +0000 (15:28 +0900)]
Get kill/check result from server instead of tmp file
Submit together:
- https://review.tizen.org/gerrit/91895
- https://review.tizen.org/gerrit/91896
Change-Id: Ifda21b50828a13290163b7cc598eb6d40a52e396
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 12 Oct 2016 06:45:07 +0000 (15:45 +0900)]
Fix signature of pkgmgr_client_set_tep_path
Add a const qualifier to tep_path.
Change-Id: Ic90623a9a0be2a242dfff212e03333be542b5f6a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Slava Barinov [Tue, 13 Sep 2016 11:07:27 +0000 (14:07 +0300)]
Add installer requirement to devel package
Without explicit dependency the case is possible when the -devel package
is installed without client package and provides a broken symlink to
/usr/lib/libpkgmgr_installer.so.0
Change-Id: If3123d62535b607873f83658662ff99fab169905
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Sangyoon Jang [Thu, 1 Sep 2016 05:42:21 +0000 (14:42 +0900)]
Code refactoring
- Rename comm_* -> pkgmgr_client_connection_*
- Simplify callback logic
- Move internal headers to source directory
- Remove unused files
Change-Id: I44e9211dddd27e00cc1b908733f0ccb71efc71d1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Tomasz Iwanek [Mon, 10 Oct 2016 08:09:38 +0000 (01:09 -0700)]
Merge "Fix sending signal for reinstall/RDS" into tizen
Tomasz Iwanek [Fri, 7 Oct 2016 09:18:59 +0000 (11:18 +0200)]
Fix sending signal for reinstall/RDS
Change-Id: I7c8f1a66edf1e7e55753e3386c34d69433056d97
Sangyoon Jang [Fri, 7 Oct 2016 07:21:45 +0000 (16:21 +0900)]
Fix converting signal type
Add signal type for clear data.
Change-Id: I31b01178265a773a022120777a8467e41236ab3c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 6 Oct 2016 09:42:46 +0000 (18:42 +0900)]
Add pkgmgr_installer_send_app_uninstall_signal_for_uid()
Change-Id: I9d18d0727d3a91c4977dce62fa674bfcf7e1bcdb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 5 Oct 2016 07:25:16 +0000 (16:25 +0900)]
Fix wrong size type in signal agent
Change-Id: I600c9de85fd3ad3411fba326b9ccee3fee286a5f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Mon, 19 Sep 2016 05:45:17 +0000 (22:45 -0700)]
Merge "Fix sending disable/enable pkg signal" into tizen
Sangyoon Jang [Mon, 12 Sep 2016 12:32:59 +0000 (21:32 +0900)]
Fix sending disable/enable pkg signal
Change-Id: I332a054b63fdd3293442a86a0aa75b9b5e147f5a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 12 Sep 2016 04:48:08 +0000 (13:48 +0900)]
Add auth checking at signal agent
Only root or 'app_fw' user can send to agent.
Change-Id: If3ec8662fa9290af7f0d7ffc22b73b39dcfb9a4f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 12 Sep 2016 02:39:16 +0000 (11:39 +0900)]
Remove duplicated codes
Change-Id: I815838bbb6e423ce35f58719d02fa3fcff8095cb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 31 Aug 2016 08:01:55 +0000 (17:01 +0900)]
Remove unused static functions
Change-Id: Id6c04851a920c18e7d2053595ce8e79dc6ffbadc
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 31 Aug 2016 06:09:58 +0000 (15:09 +0900)]
Fix signal agent
Do not unref GVariant from g_variant_new_from_data.
Change-Id: I906789bab1bad084670a494f3d096ba87a293a3d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 30 Aug 2016 07:57:08 +0000 (16:57 +0900)]
Set target_user as tizenglobalapp user when -u option is not set
Submit together:
- https://review.tizen.org/gerrit/86038
Change-Id: I2837adfbb4ce3700caa17cca9c6ee9f8a2099cd7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 29 Aug 2016 06:06:30 +0000 (15:06 +0900)]
Clean up event signal related code
- Use PKGMGR_XXX instead of COMM_XXX
- Subscribe gdbus signal only once
- Remove unused variables
Change-Id: Ib65544c2ba963493ce7cb23eeb816412689819b5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Tomasz Iwanek [Fri, 19 Aug 2016 14:18:14 +0000 (16:18 +0200)]
Global symlink error code
Change-Id: I5e32253c69eba8eaffae1226e5ad50d1806f7716
Junghyun Yeon [Thu, 18 Aug 2016 06:59:42 +0000 (15:59 +0900)]
Remove unused function and codes
-Remove api pkgmgr_client_activate_appv
-Remove csc-related codes
Related change
[pkgmgr-tool] : https://review.tizen.org/gerrit/#/c/84350/
Change-Id: I3aff30ed9c54c9a4d6a20dbee88c0f2a1513cde4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 16 Aug 2016 10:07:26 +0000 (19:07 +0900)]
Fix getting DBus bus type
Installer now send signal to both of bus types.
The pkgmgr client will connect with proper bus type.
- Request -> system bus
- Listen(system) -> system bus
- Listen(user) -> session bus
Change-Id: If597cecf44e70f8ea9c9264fcdb37bc943057fc5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 9 Aug 2016 07:29:54 +0000 (16:29 +0900)]
Add pkgmgr_installer_send_signal_for_uid
This api sends signal to agent, and agent emit signal into session bus.
Change-Id: I7c01c5703f836a19a0b19805b50b33d088a2a80e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Mon, 8 Aug 2016 10:35:51 +0000 (19:35 +0900)]
Implement pkgmgr-installer-signal-agent
pkgmgr-installer-signal-agent receives signal information from backend
installer, and emits into user-session bus.
backend installer running as system user cannot use user session bus, so
this agent will cover for it.
Change-Id: I834782358cf37a151b44737a7592bf40c3fbeba1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Wed, 17 Aug 2016 10:50:51 +0000 (19:50 +0900)]
Fix to set g_target_uid properly
Change-Id: I06ab3e4981f47bfed67f3b971cfd9dbd2b12619c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 20 Jul 2016 05:17:43 +0000 (14:17 +0900)]
tpk/wgt backend will run as system session
Related changes
[pkgmgr-server] https://review.tizen.org/gerrit/#/c/78205/
[app-installers] https://review.tizen.org/gerrit/#/c/78206/
[tpk-backend] https://review.tizen.org/gerrit/#/c/80787/
[wgt-backend] https://review.tizen.org/gerrit/#/c/81099/
Change-Id: Ie19d7b431ef13a035cdd8c4df76b515aa57b4ca3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Wed, 27 Jul 2016 10:24:25 +0000 (19:24 +0900)]
new internal API for parser-plugin to get target_uid.
Change-Id: Id6ae8ce79be686659baab096ed7db70a5e4263d4
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Thu, 7 Jul 2016 10:13:49 +0000 (19:13 +0900)]
Implement pkg enable/disable
Related changes
[pkgmgr-tool] https://review.tizen.org/gerrit/78916
[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: I122cf29824b4ce60327cf6e790474db0dee3d035
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 15 Jul 2016 02:40:58 +0000 (11:40 +0900)]
Fix pkgmgr_client_set_tep_path
Change-Id: Ib6ba6458d78956adaad5ccb8536caac7984ede76
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Piotr Ganicz [Thu, 30 Jun 2016 14:28:58 +0000 (16:28 +0200)]
Unknown key string addition
The following patchset should be submitted together:
https://review.tizen.org/gerrit/#/c/77782/
Change-Id: Id906263319ec6557c40a4877add9616783b99767
Sangyoon Jang [Fri, 1 Jul 2016 05:27:35 +0000 (14:27 +0900)]
Fix sending upgrade event
Change-Id: I1ecf7a0b3a283c2e3a6bffff838fd6f083043ad7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Wed, 29 Jun 2016 07:20:59 +0000 (16:20 +0900)]
add string for new error
Change-Id: Ia6615da9ffc316827a5371a50c2cf1e76b2fdc6c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 27 Jun 2016 10:31:07 +0000 (19:31 +0900)]
add new pkgcmd errors
Change-Id: I436d7476f89bb58d028210d8538c3e565feeb361
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 31 May 2016 02:52:12 +0000 (11:52 +0900)]
fix style
Change-Id: I7c32da19d027896bba2588cbf7eaee47c19c1567
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Thu, 16 Jun 2016 07:32:29 +0000 (16:32 +0900)]
remove unused function
Change-Id: Id5f85eb750fc9979de96d8a753f2349317199b7e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 9 Jun 2016 02:19:14 +0000 (11:19 +0900)]
Fix pkgmgr move API to get event callback
- move function should receive signal to retrieve
current progress of job requested
- remove mode argument from move api for compatibility previous tizen version.
(actually, mode argument is not used)
changed should be applied with pkgmgr-server
https://review.tizen.org/gerrit/#/c/73622/
Change-Id: I914835ba95cc240ebe3aed06cc3f6217edb926ca
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Wed, 8 Jun 2016 08:08:17 +0000 (17:08 +0900)]
Fix __get_signal_name
Add cases: manifest direct install, mount install
Change-Id: I340a7628dd74d74bf8089a98283a01c319bf43ae
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 7 Jun 2016 04:32:11 +0000 (13:32 +0900)]
Fix crash when event callback is not set
Change-Id: I660591bcfe8c30f62cd6c1700154d019d4e8c08e
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Fri, 20 May 2016 06:40:58 +0000 (15:40 +0900)]
Reorder parameters of function for consistency
reorder parameters for get_pkg_restrction_mode
for consistency with other functions
Change-Id: Ie12242e2861638ecbd286e36b8a72e0d260a24db
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>