OSDN Git Service

releasetools: Allow using futility-host to sign old TF.zip.
authorTao Bao <tbao@google.com>
Sat, 18 Feb 2017 07:21:31 +0000 (23:21 -0800)
committerTao Bao <tbao@google.com>
Sat, 18 Feb 2017 07:36:00 +0000 (23:36 -0800)
commit31a0de00a4b44fa1a8ac32c44cf16e609bd70225
tree9d0968fcfe638bdea69cf0d3b0fa3d8b9514d5f9
parenta7726c1e3637d9c7cc3be7d2c987f95688354f17
releasetools: Allow using futility-host to sign old TF.zip.

Commit e98fb7a8d3a460891f6c21fafbe62a86b50d3d1d switched to using
futility-host instead of the prebuilt futility. This CL adds support to
handle signing old TF.zip that still says "futility=prebuilt/..." in
META/misc_info.txt.

Bug: 35467608
Test: Generate otatools.zip and sign an old ryu TF.zip.
Change-Id: I48a9cc918c7afce361e1ec9bc4f85f74fa92566e
(cherry picked from commit 4f104d1b94990a101031c1b806aab00594b3e5b4)
tools/releasetools/common.py