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

View file

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