releasetools: Fix parameters for vboot_signer

With the change in vboot_signer (CL:744257), an additional parameter
is required to vboot_signer script. This change adds the required
parameter to releasetools as well.

BUG=23076037

Change-Id: Ice5329578b3a9bc459e278a9d404a1981b35ca88
Signed-off-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Furquan Shaikh 2015-08-10 11:43:45 -07:00
parent e8c212235f
commit 852b8de43f
1 changed files with 3 additions and 1 deletions

View File

@ -390,7 +390,9 @@ def BuildBootableImage(sourcedir, fs_config_file, info_dict=None):
img_keyblock = tempfile.NamedTemporaryFile()
cmd = [info_dict["vboot_signer_cmd"], info_dict["futility"],
img_unsigned.name, info_dict["vboot_key"] + ".vbpubk",
info_dict["vboot_key"] + ".vbprivk", img_keyblock.name,
info_dict["vboot_key"] + ".vbprivk",
info_dict["vboot_subkey"] + ".vbprivk",
img_keyblock.name,
img.name]
p = Run(cmd, stdout=subprocess.PIPE)
p.communicate()