Merge "Remove the key parameter when verifying avb images in validate_target_files"

This commit is contained in:
Baligh Uddin 2020-02-07 00:52:43 +00:00 committed by Gerrit Code Review
commit 1fc958b4fe
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ def ValidateVerifiedBootImages(input_tmp, info_dict, options):
# vbmeta partitions (e.g. vbmeta_system). # vbmeta partitions (e.g. vbmeta_system).
image = os.path.join(input_tmp, 'IMAGES', 'vbmeta.img') image = os.path.join(input_tmp, 'IMAGES', 'vbmeta.img')
cmd = [info_dict['avb_avbtool'], 'verify_image', '--image', image, cmd = [info_dict['avb_avbtool'], 'verify_image', '--image', image,
'--key', key, '--follow_chain_partitions'] '--follow_chain_partitions']
# Append the args for chained partitions if any. # Append the args for chained partitions if any.
for partition in common.AVB_PARTITIONS + common.AVB_VBMETA_PARTITIONS: for partition in common.AVB_PARTITIONS + common.AVB_VBMETA_PARTITIONS: