Import tota-ua 92/280092/4
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 23 Aug 2022 12:19:07 +0000 (14:19 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 24 Aug 2022 09:56:15 +0000 (11:56 +0200)
commit4cadb0f26072be1ea5f618cd9bedc90569cae390
treeeffe0c025d6f3fb4ca1ba8bf7cc2608576f2c424
parent5333aef2c7776e2f5cb4967facbaac530f8aa592
Import tota-ua

This commit imports tota-ua from commit a0c2c06cf ("Add return 0
to log functions to prevent unexpected failure").

Following changes were made with repect to original tota-ua repository:

 - naming is adjusted (tota-ua -> upgrade/upgrade-engine)

 - delta.ua is dropped along with libtota depencency
   (currently it brings only unsupported and faulty delta_fs
   upgrade type)

 - actual programs are moved to src/ subdir, scripts moved to scripts/

 - CMakeFiles.txt are considerably simplified, dropping most of the
   duplication

Change-Id: If7da44c748e3e25b4519022fb292088ed8cbdcc0
37 files changed:
CMakeLists.txt [new file with mode: 0644]
LICENSE [new file with mode: 0644]
README [new file with mode: 0644]
data/40-upgrade.list.in [new file with mode: 0644]
data/CMakeLists.txt [new file with mode: 0644]
packaging/upgrade-engine.spec [new file with mode: 0644]
scripts/clone_partitions/clone_partitions.service [new file with mode: 0644]
scripts/clone_partitions/clone_partitions.sh [new file with mode: 0644]
scripts/clone_partitions/clone_partitions_recovery.service [new file with mode: 0644]
scripts/upgrade-support/upgrade-common.inc [new file with mode: 0644]
scripts/upgrade-support/upgrade-fota.sh [new file with mode: 0755]
scripts/upgrade-support/upgrade-legacy.sh [new file with mode: 0644]
scripts/upgrade-support/upgrade-partial.sh [new file with mode: 0755]
scripts/upgrade-support/upgrade-prepare-partitions.sh [new file with mode: 0755]
scripts/upgrade-support/upgrade-trigger.sh [new file with mode: 0644]
src/blkid-print/CMakeLists.txt [new file with mode: 0644]
src/blkid-print/blkid-api.c [new file with mode: 0644]
src/blkid-print/blkid-api.h [new file with mode: 0644]
src/blkid-print/blkid-print.c [new file with mode: 0644]
src/dmverity/CMakeLists.txt [new file with mode: 0755]
src/dmverity/verity_handler.c [new file with mode: 0755]
src/dmverity/verity_handler.h [new file with mode: 0755]
src/img-verifier/CMakeLists.txt [new file with mode: 0755]
src/img-verifier/img-verifier.c [new file with mode: 0644]
src/img-verifier/img-verifier.h [new file with mode: 0644]
src/upgrade-apply/CMakeLists.txt [new file with mode: 0644]
src/upgrade-apply/main.c [new file with mode: 0644]
src/upgrade-apply/patch/NOTES.md [new file with mode: 0644]
src/upgrade-apply/patch/brotli.c [new file with mode: 0644]
src/upgrade-apply/patch/brotli.h [new file with mode: 0644]
src/upgrade-apply/patch/lzma.c [new file with mode: 0644]
src/upgrade-apply/patch/lzma.h [new file with mode: 0644]
src/upgrade-apply/patch/patch.c [new file with mode: 0644]
src/upgrade-apply/patch/patch.h [new file with mode: 0644]
src/upgrade-apply/sha1/sha1.c [new file with mode: 0644]
src/upgrade-apply/sha1/sha1.h [new file with mode: 0644]
upgrade.manifest [new file with mode: 0644]