Ilho Kim [Tue, 31 Aug 2021 11:02:47 +0000 (20:02 +0900)]
Add header file package-manager.h to pkgmgr-installer
Change-Id: Iba70f7747117bcc2514bf0352187c91532de16c9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 1 Sep 2021 04:22:15 +0000 (13:22 +0900)]
Change prefix related with resource event
'res_copy_' to 'res_'
Change-Id: I95f706283fc6ed57e69555faa6716917c97f1e67
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Mon, 30 Aug 2021 09:58:34 +0000 (18:58 +0900)]
Change API behavior
Change pkgmgr_client_res_uninstall to synchronous.
Change-Id: I3668140687f5642eed4c1e49b79ca153e451507f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 30 Aug 2021 09:57:21 +0000 (18:57 +0900)]
Fix PKGMGR_CLIENT_STATUS_ALL value
Change-Id: Ia0d5e4572ff758bd45d14e0fed4fdc26bacf141a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 30 Aug 2021 11:54:30 +0000 (20:54 +0900)]
Handle resource copy signal in signal agent
Change-Id: I1ecc54fa09c34f60bd4b51f82512aab5775735c9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 26 Aug 2021 06:29:56 +0000 (15:29 +0900)]
Release version 0.13.0
Changes:
- Fix parameter name of clear data API
- Add api for resource copy
- Implement resource copy request's callback
- Add api for listen status for resource copy
- Add api related with resource copy callback's handle param
- Add api for createing dir in resource sharing dir
- Add resource create dir request type
Change-Id: Ic2e275b01c4ada50193c3759fff8dcaf7984688f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 24 Aug 2021 03:15:11 +0000 (12:15 +0900)]
Add resource create dir request type
Change-Id: Ibbd0df68807db0c262b89b308abed3ec81a4fccf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 20 Aug 2021 02:36:39 +0000 (11:36 +0900)]
Add api for createing dir in resource sharing dir
[Added]
pkgmgr_client_add_res_create_dir_path
pkgmgr_client_res_create_dir
Change-Id: I463bafb7feb5035727c5f7ea0dfe0d4a5094f3f7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 17 Aug 2021 05:21:45 +0000 (14:21 +0900)]
Add api related with resource copy callback's handle param
[Added]
pkgmgr_res_event_info_new
pkgmgr_res_event_info_free
pkgmgr_res_event_info_set_error_code
pkgmgr_res_event_info_get_error_code
Change-Id: I56af93b1a0a4eb789d839d82f087de30fc7dc358
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 18 Aug 2021 02:20:16 +0000 (11:20 +0900)]
Add api for listen status for resource copy
Change-Id: Ifa46499326a2b690d7a15b7090fee26590c15dec
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 11 Aug 2021 05:43:31 +0000 (14:43 +0900)]
Implement resource copy request's callback
Change-Id: I203d8d4ecdc6c16d5c98c3c40be77776c399238f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 27 Jul 2021 08:19:29 +0000 (17:19 +0900)]
Add api for resource copy
-pkgmgr_client_add_res_copy_path
-pkgmgr_client_res_copy
-pkgmgr_client_add_res-remove_path
-pkgmgr_client_res_remove
-pkgmgr_client_res_uninstall
-pkgmgr_client_res_usr_uninstall
Change-Id: I50f1c5eeec8e1593b0909a21bd18afee34d2ef39
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Mon, 5 Jul 2021 09:46:47 +0000 (18:46 +0900)]
Fix parameter name of clear data API
pkgmgr_client_clear_user_data() works based on pkgid internally.
Change-Id: I479645e28163de47025d31b5922e706d42295bc0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Thu, 10 Jun 2021 07:17:18 +0000 (16:17 +0900)]
Release version 0.12.11
Changes:
- Fix static analysis issues
Change-Id: I0059071fd6cf6d9710b73f37a617848a73209431
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 10 Jun 2021 02:33:54 +0000 (11:33 +0900)]
Fix static analysis issues
- Fix memory leak
Change-Id: Ia17046d952974c60248a7d884e5ce19929bf1357
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 25 Mar 2021 06:21:29 +0000 (15:21 +0900)]
Release version 0.12.10
Changes:
- Send request id to prevent processing duplicated request
- Add pkgmgr queue
Change-Id: Ifd5c558d9282b899b38059c07348af1f78604332
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 24 Mar 2021 04:12:30 +0000 (13:12 +0900)]
Add pkgmgr queue
Request about accessing database will be handled only one
at the same time.
Related changes :
[pkgmgr-server] : https://review.tizen.org/gerrit/255444
Change-Id: I1d6cfe867e9155fce5c7d6f8463a1605aabe561f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 16 Feb 2021 04:40:25 +0000 (13:40 +0900)]
Send request id to prevent processing duplicated request
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/pkgmgr-server/+/253620
Change-Id: Ia78f3a6cf9169f8f8a248938947ac9f9e85d927b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hwankyu Jhun [Mon, 15 Feb 2021 07:13:26 +0000 (16:13 +0900)]
Release version 0.12.9
Changes:
- Change systemd-devel package name
Change-Id: I25d24342e1a4e013927bf911178b2e08c878ff5a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
INSUN PYO [Wed, 3 Feb 2021 03:25:29 +0000 (12:25 +0900)]
Change systemd-devel package name
Change-Id: Ice71af1cdaf08b54da6285cdccfc1367ab3cf899
Hwankyu Jhun [Fri, 16 Oct 2020 10:51:05 +0000 (19:51 +0900)]
Release version 0.12.8
Changes:
- Make thread safe code
Change-Id: Iaa11f106f781d4b7a96cf9c7969ae66537827d66
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 16 Oct 2020 10:48:48 +0000 (19:48 +0900)]
Make thread safe code
- Uses pthread mutex to lock & unlock
Change-Id: Iecfa0a40c59e1892fc8db476ae069e3dc85f7238
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Tue, 13 Oct 2020 08:18:00 +0000 (17:18 +0900)]
Release version 0.12.7
Changes:
- Fix crash issue
Change-Id: I10cf1c78afaf805333d4b64bcae442557d6a7369
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 8 Oct 2020 08:48:58 +0000 (17:48 +0900)]
Fix crash issue
Some library which uses pkgmgr such as voice control loaded by dlopen,
and when the process using this library may crash during exiting.
Because we release our resource using g_idle_add() due to thread-safety,
but the main loop tries to invoke the callback after the library
unloaded.
Change-Id: Ie7cc551d06edbef01dbf3e3d77b8ae03b75dc717
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 21 Aug 2020 07:24:07 +0000 (16:24 +0900)]
Release version 0.12.6
Changes:
- Include missing header file
Change-Id: I5968eba4f8b0fd6824abe8eeff4e4596bed7e05d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Thu, 20 Aug 2020 00:48:39 +0000 (09:48 +0900)]
Include missing header file
sys/types.h header file is needed for uid_t type.
Change-Id: I61367db36745876dee8f7a24d2514e54aedf301e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghyun Yeon [Mon, 3 Aug 2020 06:26:15 +0000 (15:26 +0900)]
Release version 0.12.5
Changes:
- Fix static analysis issue
Change-Id: I8c7a59ac852426630b31dc75cdac8b041032931e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 3 Aug 2020 05:46:17 +0000 (14:46 +0900)]
Fix static analysis issue
Add checking routine to each variable not exceed buffer length
Change-Id: I4705d4d524b6414a15a3ee54195d8787767e097e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 24 Jul 2020 05:44:17 +0000 (14:44 +0900)]
Release version 0.12.4
Changes:
- Fix memory leak
- Add is_upgrade flag to pkgmgr_installer and Setter function
- Removed the behavior of changing request type when sending signal
Change-Id: I2ae3e986e80737cf95f7e40935514ab9b29a80c7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 19 Jun 2020 04:59:48 +0000 (13:59 +0900)]
Removed the behavior of changing request type when sending signal
Changing request_type when installing multiple packages
can affect the request type of other packages
ex) When performing multiple recovery with 'b' option,
original request_type is PKGMGR_REQ_RECOVER
but if the first recovery is about update,
the second recovery will perform update, not recovery
Change-Id: I1dd2c011aac131902eb2d11b1894bd8283590630
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 17 Jul 2020 08:41:53 +0000 (17:41 +0900)]
Add is_upgrade flag to pkgmgr_installer and Setter function
pkgmgr_installer is set by pkgmgr_installer_receive_request() function
and Whether it is an upgrade request or not doesn't know by this function
Change-Id: I3282cd47b4dc27a6ef0d0675d422234f9c402e9f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 16 Jul 2020 07:23:39 +0000 (16:23 +0900)]
Fix memory leak
pkgmgr_installer's member pkgs should be released
Change-Id: Idc55fc954bb3f98a67ef5a1beba77bdf4bfaba1b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Wed, 22 Jul 2020 01:44:12 +0000 (10:44 +0900)]
Release version 0.12.3
Changes:
- Fix memory leak
Change-Id: I43153735df6a0319c8fcf4ae741aebb23d810a84
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 22 Jul 2020 01:24:32 +0000 (10:24 +0900)]
Fix memory leak
Change-Id: I1794cecb6a9084996a3cc0733064a6ea96d327d7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghyun Yeon [Fri, 12 Jun 2020 06:58:26 +0000 (15:58 +0900)]
Release version 0.12.2
Changes:
- Add --recovery-cleanup option for installer
Change-Id: I34d75ed51607b9d7da2d8a9ca2fb25121d467ff8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 29 May 2020 07:11:28 +0000 (16:11 +0900)]
Add --recovery-cleanup option for installer
It indicates that certain recovery should be handled as
recovery cleanup mode.
Change-Id: I4c615cafb58ca66aedef7f155ed00790cf3b2064
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 1 Jun 2020 02:27:05 +0000 (11:27 +0900)]
Release version 0.12.1
Changes:
- Fix memory leak
- Fix typo
- Add path checking at multi pkg install APIs
Change-Id: I141709b4d1c058cb4f753ede381826f5413835e2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Fri, 22 May 2020 06:50:43 +0000 (15:50 +0900)]
Add path checking at multi pkg install APIs
Change-Id: I3a07d3f9c1b52b8c4ee871d043a7c797abc52d7c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 22 May 2020 06:48:30 +0000 (15:48 +0900)]
Fix typo
Change-Id: Ic16c9124227d9c5dc055c3ebe66951b7f0ee3420
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Thu, 14 May 2020 01:40:22 +0000 (10:40 +0900)]
Fix memory leak
-The g_variant_builder_new() function's return value
should be freed by g_variant_builder_unref() when it is no longer needeed
-Release the memory allocated by g_malloc
Change-Id: I56e45cef7b2ccadc700b3af71b40a33e670e36c3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 3 Apr 2020 06:38:50 +0000 (15:38 +0900)]
Release version 0.12.0
Changes:
- Change prototype of APIs for multi signal
- Fix pkgmgr_installer to handle multiple request
- Add APIs for multiple install request
Change-Id: I3c521cf6eeae061a72196770e70ce15e4cbfa344
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Mon, 17 Feb 2020 05:48:58 +0000 (14:48 +0900)]
Add APIs for multiple install request
Change-Id: I077c8531cab28578d17ec067631350d03470f6c3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 20 Aug 2019 01:47:48 +0000 (10:47 +0900)]
Fix pkgmgr_installer to handle multiple request
Change-Id: I6752c6037f38ee3602c802028fe42394133ed2c4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Thu, 5 Mar 2020 10:10:27 +0000 (19:10 +0900)]
Change prototype of APIs for multi signal
Change-Id: I0bf7b96b680aad2a7a2c91c6b7f36fa54ee2cc2b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 2 Mar 2020 05:47:12 +0000 (14:47 +0900)]
Release version 0.11.11
Changes:
- Fix static analysis issue
- Remove build warning
Change-Id: Iab74731b4fda4cfcc62eec4eb9ced0dc5b3839aa
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 27 Feb 2020 06:41:01 +0000 (15:41 +0900)]
Remove build warning
Remove unused code.
Change-Id: I7d14fca6609bd57a7133235b30d8765df17c9719
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 26 Feb 2020 06:25:02 +0000 (15:25 +0900)]
Fix static analysis issue
Fix resource leak.
Change-Id: I2d30ee2f9ec6130c81a72fa0a017042402706ca7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 14 Feb 2020 07:53:58 +0000 (16:53 +0900)]
Release version 0.11.10
Changes:
- Implement APIs for multi-signal
- Remove unused APIs
Change-Id: I467f00ef1e37a6cc81ad0a9c729b8f78ae28d552
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 14 Feb 2020 04:51:40 +0000 (04:51 +0000)]
Merge "Implement APIs for multi-signal" into tizen
Junghyun Yeon [Wed, 22 Jan 2020 12:18:04 +0000 (21:18 +0900)]
Remove unused APIs
Below APIs are removed:
pkgmgr_client_usr_request_size_info
pkgmgr_client_request_size_info
Change-Id: I8db3fc27215d701771254913997030ed2aa6a306
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 20 Jan 2020 12:44:53 +0000 (21:44 +0900)]
Implement APIs for multi-signal
Currently dbus signal should be emitted for each pkg
even if process knows list of packages signal emittion has required.
Newly introduced API sets will provide methods to add
multiple package IDs to be submitted at once.
Change-Id: I62d5d3d9a9809b0d28f959b5d0d92018ffb22892
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 31 Jan 2020 06:05:09 +0000 (06:05 +0000)]
Merge "Change pkg signal listening behavior" into tizen
Ilho Kim [Fri, 31 Jan 2020 04:33:10 +0000 (13:33 +0900)]
Release version 0.11.9
Changes:
- Fix static analyzer issue
Change-Id: I0b1fd8eefc23e0e5aba3e0617b5db6449ff891c7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 10 Jan 2020 08:22:29 +0000 (17:22 +0900)]
Change pkg signal listening behavior
Add signal name when subscribing pkg signal to let callback
to be invoked only when signal interested are broadcasted.
Change-Id: Ib9c836620c5ae9efda438054e5841c46365eeac1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 29 Jan 2020 06:07:38 +0000 (15:07 +0900)]
Fix static analyzer issue
Change-Id: I414283ee674f478663cf3567ba2afa6c60f45ac9
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Mon, 25 Nov 2019 02:11:09 +0000 (11:11 +0900)]
Release version 0.11.8
Changes:
- Add integrated shared directory
Change-Id: I1d17be61d1150502d73bcfe3e14283a7e67af3a3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 16 Jul 2019 10:36:59 +0000 (19:36 +0900)]
Add integrated shared directory
Change-Id: I103b066d9bac7e735dda5f0e37c8be12d6cfff38
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 29 Aug 2019 07:14:33 +0000 (16:14 +0900)]
Release version 0.11.7
Changes:
- Use SocketMode= insted of chmod
Change-Id: Ic27cddb8d50f3ece57dc4ae66e72cee28f23e45d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
INSUN PYO [Tue, 27 Aug 2019 03:15:10 +0000 (12:15 +0900)]
Use SocketMode= insted of chmod
Change-Id: I167974418091803636eb75a32fe2332336e9bd21
Junghoon Park [Tue, 27 Aug 2019 03:54:43 +0000 (12:54 +0900)]
Release version 0.11.6
Changes:
- Revert "tizen: Add additional unit for "unified" user session"
Change-Id: I3a5d9d47589e7e159d4a19769042600c77f4de2f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Yunmi Ha [Tue, 20 Aug 2019 07:02:23 +0000 (07:02 +0000)]
Revert "tizen: Add additional unit for "unified" user session"
This reverts commit
c5df79346091d78b1866d047a378f35ddec6f287.
We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.
Change-Id: I73479c82a642c9cf5b31c4c0f49a5937b6fc3b9e
Ilho Kim [Thu, 22 Aug 2019 04:26:47 +0000 (13:26 +0900)]
Release version 0.11.5
Changes:
- Add new install option
Change-Id: Ic629954be6fea81ac1ce13cdbaa6bb54c7693255
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 20 Aug 2019 08:23:58 +0000 (17:23 +0900)]
Add new install option
This option will be used for fast installation without optimization
Related changes
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/212328/
[pkgmgr-tool] https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-tool/+/212326/
[slp-pkgmgr] https://review.tizen.org/gerrit/#/c/platform/core/appfw/slp-pkgmgr/+/212327/
Change-Id: I239abf2e7b479dc11e679ecacf37e64d7ec9580f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 20 Aug 2019 01:36:31 +0000 (10:36 +0900)]
Release version 0.11.4
Changes:
- Add dependency list at package detail info
Change-Id: I4a64014b767d4090fecaa8682bc02577abb43c5f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Tue, 30 Jul 2019 07:38:37 +0000 (16:38 +0900)]
Add dependency list at package detail info
Related changes:
[pkgmgr-info] : https://review.tizen.org/gerrit/211111
[tpk-backend] : https://review.tizen.org/gerrit/211115
Change-Id: I5a491c3cc8b87cd52b01c693bae9f072aefa0265
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 12 Jul 2019 06:46:50 +0000 (15:46 +0900)]
Release version 0.11.3
Changes:
- Fix thread safety issue
Change-Id: I7a15d460563e538c1cd0da438fc19dae3585ecaf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghoon Park [Tue, 9 Jul 2019 09:31:04 +0000 (18:31 +0900)]
Fix thread safety issue
- Free cb_info at main thread to fix thread safety issue
Change-Id: If11ba25c5760a7401f9f3ccf7e8f6bb6a32997e2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Thu, 2 May 2019 04:20:34 +0000 (13:20 +0900)]
Release version 0.11.2
Changes:
- Add helper API converts error code to string
- Release version 0.11.0
- Add parameter to specify uid of tizenglobalapp user
- Fix possibility of double free
- Set each gdbus method call timeout as 5 seconds
- Release version 0.11.1
- tizen: Add additional unit for "unified" user session
Change-Id: I98accc189f34737960d7396a43e99e1e10d33a8f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Mateusz Moscicki [Fri, 19 Apr 2019 12:02:18 +0000 (14:02 +0200)]
tizen: Add additional unit for "unified" user session
The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.
user@.target will contain same units as previously available in user/,
with same UID and environment setup. systemd instance is used for unit
to be able to specify UID (inherited from user@.target).
The rationale behind this work is following:
* VD requirement to remove user session support
* boot time optimization requirements, due to:
+ 'systemd --user' taking 1s its own startup that could be used for
unit startup
+ ability to better rearrange units if these managed by one systemd
instance
Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).
Change-Id: Ia6dc7254b4e9088a044055c5f17bb2b3cae66237
Sangyoon Jang [Wed, 13 Feb 2019 07:26:09 +0000 (16:26 +0900)]
Release version 0.11.1
Changes:
- Add parameter to specify uid of tizenglobalapp user
- Fix possibility of double free
- Set each gdbus method call timeout as 5 seconds
Change-Id: Ie7154a354b989df556ea01640a7dbf82c2caca3a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 13 Feb 2019 04:59:45 +0000 (13:59 +0900)]
Set each gdbus method call timeout as 5 seconds
The default timeout was 25 seconds, this is too long.
Now pkgmgr client API will have timeout as 25 seconds as maximum.
(5 sec * 5 times)
Change-Id: I4462181d067f44a26b3028e24dc9b3f412b7eaaa
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ilho [Mon, 28 Jan 2019 07:52:32 +0000 (16:52 +0900)]
Fix possibility of double free
Change-Id: I907211b9896d3de040c4da76778c942ff7890c75
Signed-off-by: ilho <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 25 Oct 2018 00:48:09 +0000 (09:48 +0900)]
Add parameter to specify uid of tizenglobalapp user
Change-Id: I08d90918d85ced2074733b360fd05089ca04a463
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 10 Oct 2018 07:38:54 +0000 (16:38 +0900)]
Release version 0.11.0
Changes:
- Add helper API converts error code to string
Change-Id: Id1a040f3642178a3061a21f50cf90f542fcfd197
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 8 Oct 2018 06:43:05 +0000 (15:43 +0900)]
Add helper API converts error code to string
Change-Id: I1c106f777666e860051c0eda21a5af7c64f672b0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Tue, 14 Aug 2018 07:41:56 +0000 (16:41 +0900)]
Release version 0.10.7
Changes:
- Fix log format argument
Change-Id: I2eb83c7b214b187c98f40af15fefa20d50c912f4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 16 Jul 2018 10:05:36 +0000 (19:05 +0900)]
Fix log format argument
gsize is unsigned size type.
Change-Id: Idb5366bfb8944fa03da9a4c7408661076db36812
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 16 Jul 2018 09:12:50 +0000 (18:12 +0900)]
Release version 0.10.6
Changes:
- Fix a memory leak
- Prevent buffer overflow of signal agent
Change-Id: I386cd7cc509bd04e9bb03aa431d71024898a9db0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 13 Jul 2018 07:21:27 +0000 (16:21 +0900)]
Prevent buffer overflow of signal agent
Change-Id: Ic55d8f5471e2963c7cf6fcc1d09dd166a5accae6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 13 Jul 2018 07:54:33 +0000 (16:54 +0900)]
Fix a memory leak
Change-Id: I4737d0f91b4a3ae07be45bae79e2df1a11030348
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 3 Jul 2018 10:27:38 +0000 (19:27 +0900)]
Release version 0.10.5
Changes:
- Add RecoverDB request type
- Fix dbus proxy creation code
Change-Id: I07657c271c0627b2bbfe17b6c098b83ddf52e362
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 3 Jul 2018 08:28:52 +0000 (17:28 +0900)]
Fix dbus proxy creation code
Add G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag.
pkgmgr-server does not provide object which has properties.
Without this flag, g_dbus_proxy_new_sync() will try to load properties
using GetAll method, and this call will be denied by default dbus policy.
Change-Id: I77248031e93bf30ea386d5e6b4838129cdc2aaa1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Thu, 21 Jun 2018 06:45:33 +0000 (15:45 +0900)]
Add RecoverDB request type
Change-Id: Ib1d1021454a1467f834935a9dffd0a8ab1aefc5a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 16 Apr 2018 02:09:49 +0000 (11:09 +0900)]
Release version 0.10.4
Changes:
- Remove unused dependency in the spec file and pc file
Change-Id: Idbf59f212aca398554309f9caf1b96509d27b7b4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 16 Apr 2018 01:54:55 +0000 (10:54 +0900)]
Remove unused dependency in the spec file and pc file
Change-Id: I3352ab271ecde902c7c2d70b85e8a8216780c77c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 9 Feb 2018 01:59:42 +0000 (10:59 +0900)]
Release version 0.10.3
Changes:
- Fix permission mode of agent socket
- Fix static analyzer issues
Change-Id: Iaef97d67b03e57e868e710e0baf43eca9334e255
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 5 Feb 2018 06:47:22 +0000 (15:47 +0900)]
Fix static analyzer issues
Change-Id: I4ee2dd2c1d90c17b45dfbac7019ebbfbda67d8bb
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 5 Feb 2018 07:09:23 +0000 (16:09 +0900)]
Fix permission mode of agent socket
Remove permission for others.
Change-Id: Ie28a323524f0988a79ba67d099d165fca8d1aa92
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 19 Jan 2018 07:49:53 +0000 (16:49 +0900)]
Release version 0.10.2
Changes:
- Fix to make correct symbolic link of systemd socket service
Change-Id: Ie1c0682205ef63d7bea4f069cd3904c41367a157
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 5 Jan 2018 02:28:30 +0000 (11:28 +0900)]
Fix to make correct symbolic link of systemd socket service
Change-Id: If2d71212a815d68df941e0a418a0706828e89065
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 22 Dec 2017 06:11:57 +0000 (15:11 +0900)]
Release version 0.10.1
Changes:
- Fix parameter name
Change-Id: Ida2851ecc8b791c090548f3311c881c8a7c04098
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 11 Dec 2017 03:21:21 +0000 (12:21 +0900)]
Fix parameter name
- Replace previous operation name into new one.
Change-Id: Ia98d293cc588e7a39960341fbf0a1cc6e8fd25c7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 8 Dec 2017 08:02:28 +0000 (17:02 +0900)]
Release version 0.10.0
Changes:
- Add Internal APIs to get debug flag
Change-Id: Ice8d5271432cf0b34cbaf8eb6cf60aff96a02c8f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Wed, 29 Nov 2017 11:01:22 +0000 (20:01 +0900)]
Add Internal APIs to get debug flag
Change-Id: If804117f83b23b67eae572d7ccd514dc426d0052
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Semun Lee [Mon, 6 Nov 2017 13:19:52 +0000 (22:19 +0900)]
Release version 0.9.2
Changes:
- Add dependency to capi-system-info
Change-Id: I948076bf87f7d2cec067efe4c8a14b0ffe06847c
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Semun Lee [Mon, 6 Nov 2017 13:10:27 +0000 (22:10 +0900)]
Add dependency to capi-system-info
system-info db should be initialized before pkgmgr runs backend
installers during image creation.
To run %posttrans of capi-system-info first, we need to add
explicit dependency to capi-system-info.
Change-Id: Id59ba33d401893836e172a0be6f70e7c8487f1f7
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Sangyoon Jang [Wed, 11 Oct 2017 12:33:15 +0000 (21:33 +0900)]
Release version 0.9.1
Changes:
- Fix wrong log format argument
- Fix defects from static analysis
Change-Id: If0649832cc363a160f06dc9541bbb7474d66a178
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 10 Oct 2017 06:00:41 +0000 (15:00 +0900)]
Fix defects from static analysis
Change-Id: I78d4be458557f901d235948995608637942ba750
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 10 Oct 2017 02:42:15 +0000 (11:42 +0900)]
Fix wrong log format argument
Change-Id: I60d76cf8388de78beb4101f1230f74a93ba51dcc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 11 Aug 2017 06:11:59 +0000 (15:11 +0900)]
Release version 0.9.0
Changes:
- Add new feature to change app's icon
Change-Id: I8940927966e223deb77eb4399eb0bedb8d5532a2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>