forked from openkylin/platform_build
Merge "releasetools: Skip checking files with non-monotonic ranges." am: 6d2ca1f19e
am: b1ae1cc94a
Change-Id: I41f67881f06223f9a04bc9e1a6213e02f8c9af8a
This commit is contained in:
commit
9ba115e8e2
|
@ -90,6 +90,12 @@ def ValidateFileConsistency(input_zip, input_tmp, info_dict):
|
||||||
logging.warning('Skipping %s that has incomplete block list', entry)
|
logging.warning('Skipping %s that has incomplete block list', entry)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# TODO(b/79951650): Handle files with non-monotonic ranges.
|
||||||
|
if not ranges.monotonic:
|
||||||
|
logging.warning(
|
||||||
|
'Skipping %s that has non-monotonic ranges: %s', entry, ranges)
|
||||||
|
continue
|
||||||
|
|
||||||
blocks_sha1 = image.RangeSha1(ranges)
|
blocks_sha1 = image.RangeSha1(ranges)
|
||||||
|
|
||||||
# The filename under unpacked directory, such as SYSTEM/bin/sh.
|
# The filename under unpacked directory, such as SYSTEM/bin/sh.
|
||||||
|
|
Loading…
Reference in New Issue