summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Antoni Adaszkiewicz [Thu, 6 Oct 2022 12:35:50 +0000 (14:35 +0200)]
upgrade-apply-deltafs: Add possibility to build this binary on host by adding a cmake file
Change-Id: If634e2c3f8c171ac0f3a07a8d61f0e3723fc7ddf
Antoni Adaszkiewicz [Mon, 26 Sep 2022 13:04:56 +0000 (15:04 +0200)]
Allow scripts responsible for upgrading to work with upgrade-delta-fs binary
Change-Id: I1dfe8f4cb9a9739c18e05cdb988ebe45ef0aaa86
Antoni Adaszkiewicz [Thu, 8 Sep 2022 09:45:04 +0000 (11:45 +0200)]
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
Antoni Adaszkiewicz [Tue, 6 Sep 2022 14:26:35 +0000 (16:26 +0200)]
upgrade-apply-deltafs: Change path handling to work with relative pathnames and remove the need
to mount upgraded partition on /run/upgrade-sysroot
Change-Id: Ifdb6c8a4d336fc7375f2a47409abd43d60be9997
Antoni Adaszkiewicz [Thu, 1 Sep 2022 13:36:01 +0000 (15:36 +0200)]
upgrade-apply-deltafs: Drop legacy code
Change-Id: I92f09fe0eaf2556db36ebda7c0d9308f7c13fdee
Antoni Adaszkiewicz [Thu, 1 Sep 2022 12:28:56 +0000 (14:28 +0200)]
upgrade-apply-deltafs: Redirect logs to stdout
Change-Id: I3df168efd1d8a645bfd7f9c391e9b7d0987cf23e
Antoni Adaszkiewicz [Thu, 1 Sep 2022 11:28:55 +0000 (13:28 +0200)]
Rename delta-ua directory to upgrade-apply-deltafs and delta.ua binary to upgrade-apply-deltafs
Change-Id: I0f7ad405d7a2cbc055fbd1649597c2f46fc52e9c
Antoni Adaszkiewicz [Mon, 29 Aug 2022 15:21:28 +0000 (17:21 +0200)]
Add delta.ua - a binary to apply an upgrade of DELTA_FS type.
The binary is build with code previously from tota-ua and libtota, although some
changes were made. They include: changes to make delta.ua a command line tool
(reading given parameters instead of reading config files), changes to make delta.ua a tool
only applying the deltas and only applying them for one partition, adding support for handling
hardlinks (previously in cases where harlinks were present in a delta, upgrade wasn't guaranteed
to be successsful), removing code/files unused for update types other than DELTA_FS
and other more minor changes (e.g. removing unused functions)
Change-Id: Ice1e272a553abb5ebae4230eaffe82afc931b204
Antoni Adaszkiewicz [Tue, 30 Aug 2022 15:21:01 +0000 (17:21 +0200)]
Add files from libtota and tota-ua, necessary for easier review of the next commit.
The code is imported from following:
-> platform/core/system/libtota, SHA1: d36348f
(ss_bsdiff: Change the search function)
-> platform/core/system/tota-ua, SHA1: 681435d
(Fix fprintf format warning)
Change-Id: I783799ed335f03bc69c287f6d85092b6dbff9b21
Mateusz Moscicki [Mon, 5 Sep 2022 12:11:54 +0000 (14:11 +0200)]
Remove support for non-A/B upgrade
Change-Id: I67bb1f3a27aea2af495bb584d8044035fbc73bb9
Karol Lewandowski [Tue, 30 Aug 2022 08:23:49 +0000 (10:23 +0200)]
Rename spec and package(s) to match repository name
Change-Id: Id011a220bba07c9042fd59bd0bb61f009e6d0ea7
Karol Lewandowski [Wed, 24 Aug 2022 09:29:52 +0000 (11:29 +0200)]
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
Karol Lewandowski [Tue, 23 Aug 2022 12:19:07 +0000 (14:19 +0200)]
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
Tizen Infrastructure [Tue, 26 Jul 2022 01:57:11 +0000 (01:57 +0000)]
Initial empty repository