OSDN Git Service

fix signing user builds
authorDoug Zongker <dougz@android.com>
Fri, 21 Aug 2009 00:38:42 +0000 (17:38 -0700)
committerDoug Zongker <dougz@android.com>
Fri, 21 Aug 2009 01:02:47 +0000 (18:02 -0700)
commite05628cc8df4ec4b69befa9652d81eb81f0ab008
tree2507433aa1c0a34270ce3c4748bf745410f1ff0c
parent6f7ba2dce2c112eb4be33dbad54751d55ddd2276
fix signing user builds

When unzipping a target-files which has been signed with OTA key
replacement, you'll get "overwrite this file?" prompts because the key
files appear in the zip files twice.  Suppress these prompts.

Many developer phone products don't define PRODUCT_OTA_PUBLIC_KEYS, so
add a default key.

This change doesn't affect device code.
tools/releasetools/common.py
tools/releasetools/sign_target_files_apks