platform/core/system/plugin/update-control-generic.git
12 months agoModify "upgrade status" to "upgrade progress status" 08/312708/1 accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen_unified_x_asan accepted/tizen/9.0/unified/20241030.234340 accepted/tizen/unified/20240614.085056 accepted/tizen/unified/dev/20240620.000254 accepted/tizen/unified/toolchain/20240624.121635 accepted/tizen/unified/x/20240614.160521 accepted/tizen/unified/x/asan/20240625.092812 tizen_9.0_m2_release
SangYoun Kwak [Thu, 13 Jun 2024 08:07:14 +0000 (17:07 +0900)]
Modify "upgrade status" to "upgrade progress status"

hal_device_board_get_upgrade_status is used in this repository but it
has been changed to hal_device_board_get_upgrade_progress_status.

Change-Id: Ie520adf7c6a3b751463d02a32ec57a49cf14d789
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
12 months agoChange hal-device-board module inclusion path 95/312595/1
Yunhee Seo [Wed, 12 Jun 2024 05:33:15 +0000 (14:33 +0900)]
Change hal-device-board module inclusion path

As hal-abi-versioning is applied to hal-api-device-board module,
inclusion path is changed.

Change-Id: Ibf657c85f2c3ef48227650f8a99e1f5f541611c4
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
13 months agoAdd chsmack label System::Tools to the script 26/309726/1 accepted/tizen/unified/20240423.164605 accepted/tizen/unified/x/20240425.051138
SangYoun Kwak [Tue, 16 Apr 2024 04:43:09 +0000 (13:43 +0900)]
Add chsmack label System::Tools to the script

To set privilege and prohibit access to the script
make-update-control-config.sh, smack label System::Tools is added.

Change-Id: I0a3bc690aed1d0ab897937004b5d1a8ddceb0859
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
14 months agotools: scripts: Add a PATH environment in script 36/308936/1 accepted/tizen/unified/20240404.164419 accepted/tizen/unified/x/20240408.053816
Jaehoon Chung [Wed, 3 Apr 2024 03:55:43 +0000 (12:55 +0900)]
tools: scripts: Add a PATH environment in script

Add a PATH environment in script to fix a Path check error.

During mic, the below information is displaying.

INFO: ###### path check error list ######
INFO: /usr/bin/make-update-control-config.sh,system-plugin-backend-update-control-generic-1.0.6-0.armv7l

Change-Id: Ieef37931e5e85042d19eff1b75c21319cbe10335
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
15 months agoRemove unneeded abi_version 76/307976/1 accepted/tizen/unified/20240318.071413 accepted/tizen/unified/x/20240319.055608
Chanwoo Choi [Fri, 15 Mar 2024 01:19:48 +0000 (10:19 +0900)]
Remove unneeded abi_version

Change-Id: Ia1b0878a734bdbe6a2f38aadc1b52f6a1cb83b9c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
15 months agoMerge "Modify plugin to use update-control-server.conf" into tizen
Chanwoo Choi [Mon, 11 Mar 2024 01:53:10 +0000 (01:53 +0000)]
Merge "Modify plugin to use update-control-server.conf" into tizen

15 months agoModify plugin to use update-control-server.conf 95/307295/4
SangYoun Kwak [Thu, 7 Mar 2024 02:11:38 +0000 (11:11 +0900)]
Modify plugin to use update-control-server.conf

Previously, informations like download url and file name to download are
defined by this plugin.

Since update-control-server.conf(created by the script
make-update-control-config.sh) provides download url(with file name) and
account(user id, api key), there is no need to make url and file name in
the plugin.

Below is an example of update-control-server.conf:
> [BART]
> delta_url=<url for delta download>
> user_id=<user id to authenticate delta url>
> api_key=<api key corresponds to the user id above>

Change-Id: Ib02467370776c8ef095ed755b4e38f09c3535ba2
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
15 months agoAdd `system-plugin-backend-` prefix to package name 59/307359/1 accepted/tizen/unified/20240311.012809 accepted/tizen/unified/x/20240311.095758
Antoni [Thu, 7 Mar 2024 09:53:36 +0000 (10:53 +0100)]
Add `system-plugin-backend-` prefix to package name

Now package name will follow the naming convention of other plugins
used by libsyscommon

Change-Id: I9d93cbbddecb1193bf83fcbf1f8f0f780d7ab8c1

15 months agoAdd new tool to make update-control-server.conf 28/307228/6
SangYoun Kwak [Wed, 6 Mar 2024 07:27:25 +0000 (16:27 +0900)]
Add new tool to make update-control-server.conf

make-update-control-config.sh creates config file
(/opt/usr/update-control-server.conf) for downloading delta file.

update-control-server.conf contains:
 * URL for delta download
 * user id for authentication
 * api key for authentication
Informations above are provided in section.

Below is an example of update-control-server.conf:
> [BART]
> delta_url=<url for delta download>
> user_id=<user id to authenticate delta url>
> api_key=<api key corresponds to the user id above>

Change-Id: I99af101a3ca7a91c83d5d2cc8916f11871e6f814
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
15 months agoRemove if statement which has no effect 09/307309/3
SangYoun Kwak [Thu, 7 Mar 2024 04:51:08 +0000 (13:51 +0900)]
Remove if statement which has no effect

Since update_info->package_uri is a char array with size URL_SIZE,
checking if it is NULL or not is pointless. (Always true)
Thus, if statement is removed.

Change-Id: I96b666ab8aae5574ac4eac6f0eb9ca1ceaf96cb1
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
15 months agoModify to check the result of strdup 49/307249/4
SangYoun Kwak [Tue, 5 Mar 2024 10:34:08 +0000 (19:34 +0900)]
Modify to check the result of strdup

The strdup function call can be failed if memory allocation is failed
just like malloc.
Thus, codes for checking if strdup is failed or not are added.

If strdup fails, they print error log message and return error code.

Change-Id: I28a9fcd77388a4864db20e38086e6b79d8ef977c
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
15 months agoSeparate plugin form update-control and integrate with libsyscommon 32/306632/6
Antoni [Fri, 23 Feb 2024 12:09:40 +0000 (13:09 +0100)]
Separate plugin form update-control and integrate with libsyscommon

This also modifies plugin behavior to fetch deltas from a BART server.
Not yet fully tested.

Change-Id: I19cd844a6b5a26c2dc6f53b27f65b9a5c50d1eb8

15 months agoInitial empty repository master
Jinkun Jang [Thu, 22 Feb 2024 02:59:01 +0000 (02:59 +0000)]
Initial empty repository