upgrade-apply-deltafs: Rewrite code responsible for reading archive files (deltas... 94/281294/6
authorAntoni Adaszkiewicz <a.adaszkiewi@samsung.com>
Thu, 8 Sep 2022 09:45:04 +0000 (11:45 +0200)
committerAntoni Adaszkiewicz <a.adaszkiewi@samsung.com>
Mon, 7 Nov 2022 10:02:48 +0000 (11:02 +0100)
commit32e6d7f7e5bd1d2cc9d011e4bca0bf87774ea4b7
tree7ac902f3be15db314eae91968c2653c3b8b4702b
parenta4d4c664bc0cbe39e1688d5ea95462e52c23efd9
upgrade-apply-deltafs: Rewrite code responsible for reading archive files (deltas in tar format) in
order to speed up patch application and to allow gziped archives

Changes include:
- removing the requirement for archives to be named "delta*"
- adding support for archives with .tar.gz and .tgz file extensions
- using libtar to read archives
- reducing the amount of times the archive is read
- dropping legacy code along the way

Change-Id: Ibbce6a7c36b5520dab21b113200113c48a6b2058
src/upgrade-apply-deltafs/CMakeLists.txt
src/upgrade-apply-deltafs/engine/SS_PatchDelta.c
src/upgrade-apply-deltafs/engine/SS_PatchDelta.h
src/upgrade-apply-deltafs/engine/SS_UPI.c
src/upgrade-apply-deltafs/engine/SS_UPI.h
src/upgrade-apply-deltafs/engine/fota_common.h
src/upgrade-apply-deltafs/engine/fota_tar.c
src/upgrade-apply-deltafs/engine/fota_tar.h
src/upgrade-apply-deltafs/engine/ua_types.h
src/upgrade-apply-deltafs/ua.c
src/upgrade-apply-deltafs/ua.h