From 632cd71d25571ba6ec1452526f7b660d551a860a Mon Sep 17 00:00:00 2001 From: Gabriele M Date: Wed, 25 Jan 2017 21:04:05 +0100 Subject: [PATCH] Revert "releasetools: Don't extract BOOTABLE_IMAGES when signing target 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 --- tools/releasetools/sign_target_files_apks.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/releasetools/sign_target_files_apks.py b/tools/releasetools/sign_target_files_apks.py index 41e65ae677..9883fa6657 100755 --- a/tools/releasetools/sign_target_files_apks.py +++ b/tools/releasetools/sign_target_files_apks.py @@ -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)