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

This commit is contained in:
Tao Bao 2019-06-11 15:03:12 +00:00 committed by Gerrit Code Review
commit 4995d2fe16
1 changed files with 1 additions and 1 deletions

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)