OSDN Git Service

releasetools: replace verity keyid
authorBadhri Jagan Sridharan <Badhri@google.com>
Fri, 17 Jun 2016 02:58:44 +0000 (19:58 -0700)
committerTao Bao <tbao@google.com>
Fri, 24 Jun 2016 05:13:12 +0000 (22:13 -0700)
commit35c9b1243fcfbea7e65424a542ed2dcec665bb56
tree21cad8c7081b7237390e227e32cd45fbc0fdf1bd
parenta80ed221b86830fb584ddeaa7c3d471984758f85
releasetools: replace verity keyid

Replace verity keyid with the keyid extracted from cert
passed through --replace_verity_keyid. The veritykeyid in the
BOOT/cmdline of input target files is replaced with keyid
extracted from --replace_verity_keyid and written to the
output target files.

BUG: 28384658
Change-Id: Ic683f36f543c4fcd94b6f95e40f01200fbf45ee1
(cherry picked from commit b58d23fe00697a0cf9c7c9c75639fd8c7b5bb016)
tools/releasetools/sign_target_files_apks.py