summaryrefslogtreecommitdiffstats
path: root/updater/updater_runtime_dynamic_partitions.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add slot suffix to DAP opsYifan Hong2020-05-081-57/+70
| | | | | | | | | | | | | | | | | | | If device supports both A/B and non-A/B, when applying a non-A/B package, add current slot suffix and apply the update to the partition at current slot. This includes: - (un)map_partition in edify script. For example, map_partition("system") will automatically append slot suffix to "system" before calling CreateLogicalPartition. - All operations in dynamic_partitions_op_list. For example, add foo group_foo will automatically append slot suffix to foo and group_foo before editing the super partition metadata. Test: apply update Bug: 153581609 Change-Id: Idbd0bfea142529a33dddb4d2debfc74513290730
* updater: Fix build for new CreateLogicalPartition signature.David Anderson2019-08-141-2/+9
| | | | | | Bug: 135752105 Test: mm libupdater_device Change-Id: I9dc6dc1e9112177ee5c0a96b8969dc3dc02d95f2
* Fix build for API change to DestroyLogicalPartition().David Anderson2019-06-241-1/+1
| | | | | | | | | This method no longer contains a timeout parameter; it has been removed in favor of changes to libdm. Bug: 135771280 Test: builds Change-Id: Id8c0f17c2787412bc4588af5a1bc49cc8e6edd51
* Implement updater runtime for dynamic partitionsTianjie Xu2019-06-241-0/+336
The simulator skips executing the operations for dynamic partitions, and will use the logical images under target_files/IMAGES directly. (Similar to the targets without DAP enabled) Bug: 131911365 Test: run update on cuttlefish, run simulator Change-Id: Id318d97ece4560df9f20dc5cabeb8b2e261bdf9c