releasetools: No-op change to use common.AVB_VBMETA_PARTITIONS.

common.AVB_VBMETA_PARTITIONS was recently added (commit
08c190fc89) for the same purpose.

Test: TreeHugger
Change-Id: I65572d54c22a753fdef80677377fcc9b684ee16f
This commit is contained in:
Tao Bao 2019-06-10 15:28:28 -07:00
parent 236438ab1e
commit cd951b2bdb

View file

@ -450,7 +450,7 @@ def AddVBMeta(output_zip, partitions, name, needed_partitions):
if partition not in needed_partitions:
continue
assert (partition in common.AVB_PARTITIONS or
partition.startswith('vbmeta_')), \
partition in common.AVB_VBMETA_PARTITIONS), \
'Unknown partition: {}'.format(partition)
assert os.path.exists(path), \
'Failed to find {} for {}'.format(path, partition)