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

Commit 5d0b2874 authored by Aaron Kling's avatar Aaron Kling Committed by Rashed Abdel-Tawab
Browse files

Revert "releasetools: Replace key values in permission files during re-signing"

This reverts commit 2b673a45.

This appears to no longer be used and is breaking aosp signing

Change-Id: Ide78cb4b62931ce8b52508f29cbe674c6dac5675
parent 234ecb94
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -297,10 +297,6 @@ def ProcessTargetFiles(input_tf_zip, output_tf_zip, misc_info,
      print("Rewriting %s with new keys." % (info.filename,))
      new_data = ReplaceCerts(data)
      common.ZipWriteStr(output_tf_zip, out_info, new_data)
    elif info.filename.startswith("SYSTEM/etc/permissions/"):
      print("rewriting %s with new keys." % info.filename)
      new_data = ReplaceCerts(data)
      common.ZipWriteStr(output_tf_zip, out_info, new_data)

    # Ask add_img_to_target_files to rebuild the recovery patch if needed.
    elif info.filename in ("SYSTEM/recovery-from-boot.p",