Merge "Update the references to verity tools."

am: 31c2bf905e

Change-Id: I83f5ec259273007f7ba61e486a0150e8ef9b69e8
This commit is contained in:
Tao Bao
2019-05-03 06:51:19 -07:00
committed by android-build-merger
4 changed files with 10 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ def GetVerityTreeSize(image_size):
def GetVerityMetadataSize(image_size):
cmd = ["build_verity_metadata.py", "size", str(image_size)]
cmd = ["build_verity_metadata", "size", str(image_size)]
output = common.RunAndCheckOutput(cmd, verbose=False)
return int(output)
@@ -97,7 +97,7 @@ def BuildVerityTree(sparse_image_path, verity_image_path):
def BuildVerityMetadata(image_size, verity_metadata_path, root_hash, salt,
block_device, signer_path, key, signer_args,
verity_disable):
cmd = ["build_verity_metadata.py", "build", str(image_size),
cmd = ["build_verity_metadata", "build", str(image_size),
verity_metadata_path, root_hash, salt, block_device, signer_path, key]
if signer_args:
cmd.append("--signer_args=\"%s\"" % (' '.join(signer_args),))