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

am: 4995d2fe16

Change-Id: Iad86a2c8923cae9e20679b1acb09c6c26568146f
This commit is contained in:
Tao Bao 2019-06-11 08:15:56 -07:00 committed by android-build-merger
commit 601fc23eee

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)