OSDN Git Service

releasetools: Fix the bug in AssertSequenceGood.
authorTao Bao <tbao@google.com>
Fri, 4 Mar 2016 23:23:34 +0000 (15:23 -0800)
committerTao Bao <tbao@google.com>
Wed, 9 Mar 2016 03:01:26 +0000 (19:01 -0800)
commitff75c230860ff3e88c1e73cfcc62270d76af29bc
treef26c17652f7e617f16dae261a18cc752e30e82f7
parentb8b72c14e5eaaabcb630a1174a1e03a809f340f0
releasetools: Fix the bug in AssertSequenceGood.

We use a bitset for blocks in the target image to assert a block hasn't
been touched before reading. Skip checking the blocks that are in the
source image only.

Bug: 27556903
Change-Id: I3a77292da673c813bd20d8dc177ff36419d8ecae
(cherry picked from commit dca2200c8aa09b08ba0d37410a7826b737caecf2)
tools/releasetools/blockimgdiff.py