OSDN Git Service

support use of prebuilt bootable images
authorDoug Zongker <dougz@android.com>
Wed, 26 Jan 2011 01:03:34 +0000 (17:03 -0800)
committerDoug Zongker <dougz@android.com>
Wed, 26 Jan 2011 01:07:09 +0000 (17:07 -0800)
commit55d932840f1a5b412f2961f79368ecec2d28f647
treead14b0e72043bbe4ee1f429e90e0e530ff307cb9
parentb6c2b1c62706689410b5d3818aacd6d3103b9b7a
support use of prebuilt bootable images

img_from_target_files now, with the -z flag, will produce an output
zip with only the bootable partitions (boot and recovery).

img_ and ota_from_target_files can take, instead of a simple
"target_files.zip", a name of the form
"target_files.zip+bootable_images.zip", where the second zip contains
bootable images that should be used instead of building them from the
target_files.zip.  (This should be the zip produced by the above -z
flag, perhaps with the images messed with in some way, such as by an
unnamed OEM's extra signature wrapper for their "secure boot"
process.)

Bug: 3391371
Change-Id: Iaf96dfc8f30e806ae342dcf3241566e76ae372d4
tools/releasetools/common.py
tools/releasetools/img_from_target_files
tools/releasetools/ota_from_target_files