Import system-rw-upgrade
This commit imports system-rw-upgrade from commit
fbb4ba4cf ("Add critical log where upgrade
status is changing").
Following changes were made with repect to original repository:
- move scripts and unit files under scripts/rw-upgrade
- move logic behind installing scripts and unit files to scripts/rw-upgrade/CMakeLists.txt
- depend only on UPGRADE_ variables
- integrate build into new spec
Change-Id: I305fe67d2ac32df7d2b9d05b51b67a1fb808a68b
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