Skip to content

Commit

Permalink
Revert "releasetools: Don't extract BOOTABLE_IMAGES when signing targ…
Browse files Browse the repository at this point in the history
…et files"

sign_target_files_apks is currently dropping the content of
BOOTABLE_IMAGES. As consequence, the images are re-generated
without using custom mkbootimg makefiles, which can cause
issues on some devices with specific formats or requirements.

This reverts commit 71fbe14d8d2dbd3d8f7fd38ef5bb921fe5dfe68c.

Change-Id: If4c8c70ee32e21198859f594a2dc090abe2e13a1
  • Loading branch information
Gabriele M authored and PRJosh committed Mar 23, 2017
1 parent 1f75ef5 commit 632cd71
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/releasetools/sign_target_files_apks.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,6 @@ def write_to_temp(fn, attr, data):
if info.filename.startswith("IMAGES/"):
continue

if info.filename.startswith("BOOTABLE_IMAGES/"):
continue

data = input_tf_zip.read(info.filename)
out_info = copy.copy(info)

Expand Down

0 comments on commit 632cd71

Please sign in to comment.