commit | e0ee794fa16b206e792eac0942f448df34247fd8 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Jun 17 17:01:22 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Thu Jun 23 16:23:14 2016 -0700 |
tree | 782eb6345b0639759f2cc3b78286802f4b7d9c63 | |
parent | 2abbbd03339947327ada0becba5bd4ef41f1bdab [diff] |
Fix the path for verity_key replacement when signing. system_root_image expects the key at ROOT/verity_key as opposed to BOOT/verity_key. Also refactor the verity key replacement lines. Bug: 29397395 Test: 'sign_target_files_apks.py --replace_verity_private_key newkey --replace_verity_public_key newkey.pub target_files.zip signed-target_files.zip' and verify the replaced key in boot.img. Change-Id: I58a5defff4be008ad55d4b5a5b7148569c3b8d66