diff options
author | Furquan Shaikh <furquan@google.com> | 2015-08-10 11:43:45 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2015-08-10 11:43:45 -0700 |
commit | 852b8de43f3ce6d4f36efec00b570a71e7bb250e (patch) | |
tree | 71c9134ecb7b3480bdb9a638e840c42d49c38999 /tools/releasetools | |
parent | e8c212235fc4a83a20cb9bd25f17897a75b15440 (diff) | |
download | build-852b8de43f3ce6d4f36efec00b570a71e7bb250e.zip build-852b8de43f3ce6d4f36efec00b570a71e7bb250e.tar.gz build-852b8de43f3ce6d4f36efec00b570a71e7bb250e.tar.bz2 |
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>
Diffstat (limited to 'tools/releasetools')
-rw-r--r-- | tools/releasetools/common.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py index 99b319d..ebf47cb 100644 --- a/tools/releasetools/common.py +++ b/tools/releasetools/common.py @@ -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() |