ota_tool: fix incremental ota error
Problem:
Logical partitions do not update right since commit
f67dd8059d
Generate block based OTA for product partitions
due to the wrong order of parameters. This is logged in
/tmp/recovery.log:
skipping 0 blocks already patched to 202
Bug: 149794632
Change-Id: I92f7a8a226a8a96b892254362d362c515bfb6dc6
This commit is contained in:
parent
1ee63b0b05
commit
2a7aaa69ae
|
@ -631,7 +631,7 @@ def GetBlockDifferences(target_zip, source_zip, target_info, source_info,
|
|||
partition_target_info = target_info["fstab"]["/" + name]
|
||||
disable_imgdiff = (partition_source_info.fs_type == "squashfs" or
|
||||
partition_target_info.fs_type == "squashfs")
|
||||
return common.BlockDifference(name, partition_src, partition_tgt,
|
||||
return common.BlockDifference(name, partition_tgt, partition_src,
|
||||
check_first_block,
|
||||
version=blockimgdiff_version,
|
||||
disable_imgdiff=disable_imgdiff)
|
||||
|
|
Loading…
Reference in New Issue