Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f0a147b authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "Revert "releasetools: Allow using futility-host to sign old TF.zip.""...

Merge "Revert "releasetools: Allow using futility-host to sign old TF.zip."" into nyc-dev am: b0df1ef7 am: 983c979c am: bd6d03ab am: e64f52eb
am: 55f185e0

Change-Id: Ic47af33906d2ead19cc3b6346f1aa55e5de5952d
parents cba9d53c 55f185e0
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -518,13 +518,7 @@ def _BuildBootableImage(sourcedir, fs_config_file, info_dict=None,
  elif info_dict.get("vboot", None):
    path = "/" + os.path.basename(sourcedir).lower()
    img_keyblock = tempfile.NamedTemporaryFile()
    # We have switched from the prebuilt futility binary to using the tool
    # (futility-host) built from the source. Override the setting in the old
    # TF.zip.
    futility = info_dict["futility"]
    if futility.startswith("prebuilts/"):
      futility = "futility-host"
    cmd = [info_dict["vboot_signer_cmd"], futility,
    cmd = [info_dict["vboot_signer_cmd"], info_dict["futility"],
           img_unsigned.name, info_dict["vboot_key"] + ".vbpubk",
           info_dict["vboot_key"] + ".vbprivk",
           info_dict["vboot_subkey"] + ".vbprivk",