summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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>
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>
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>
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>
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
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>
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>
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>
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>
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
Jinkun Jang [Thu, 22 Feb 2024 02:59:01 +0000 (02:59 +0000)]
Initial empty repository