summaryrefslogtreecommitdiff
path: root/scripts/update_device.py
diff options
context:
space:
mode:
authorTianjie <xunchang@google.com>2020-06-04 14:57:19 -0700
committerTianjie <xunchang@google.com>2020-06-15 15:40:55 -0700
commit99d570d67bd5dab11de321068c4002ab76ae774a (patch)
tree6310389d540a3bd86a3810c0d128e3880b9f0864 /scripts/update_device.py
parentd3865d1bc4298739652ee101d1b625fb12361f9b (diff)
Implement PartitionUpdateGenerator for partial updates
Implement the logic in PartitionUpdateGenerator. Here's the summary, 1. finds the a/b partitions (both static & dynamic) on the device For partitions not included in the payload: 2. calculates the partition hash for filesystem verification 3. generates one SOURCE_COPY operation for each static partition The order of the partitions are sorted. So the update will resume from the correct operation in case it's interruptted. Bug: 157778739 Test: run a partial OTA with boot & system_ext Change-Id: I5683b85e3c6dab813a33d5144aceb996fd8163d4
Diffstat (limited to 'scripts/update_device.py')
0 files changed, 0 insertions, 0 deletions