releasetools: fix avbtool arguments.

The following error occurred when building dist.
Separate these arguments

error log:
avbtool: error: unrecognized arguments: --partition_name vendor_boot

Bug: 144820089

Change-Id: I3891ef3bd9a2f7d2cd1377228b9894b599dc1cc3
Signed-off-by: Donghoon Yu <hoony.yu@samsung.com>
This commit is contained in:
Donghoon Yu 2019-11-21 14:20:17 +09:00 committed by Robert Chou
parent cedced8471
commit 92420db7dd

View file

@ -1241,7 +1241,7 @@ def _BuildVendorBootImage(sourcedir, info_dict=None):
avbtool = info_dict["avb_avbtool"]
part_size = info_dict["vendor_boot_size"]
cmd = [avbtool, "add_hash_footer", "--image", img.name,
"--partition_size", str(part_size), "--partition_name vendor_boot"]
"--partition_size", str(part_size), "--partition_name", "vendor_boot"]
AppendAVBSigningArgs(cmd, "vendor_boot")
args = info_dict.get("avb_vendor_boot_add_hash_footer_args")
if args and args.strip():