OSDN Git Service

vboot_signer: Add kernel subkey required for signing kernel keyblock
authorFurquan Shaikh <furquan@google.com>
Fri, 7 Aug 2015 18:58:05 +0000 (11:58 -0700)
committerFurquan Shaikh <furquan@google.com>
Fri, 7 Aug 2015 19:01:20 +0000 (12:01 -0700)
commite8c212235fc4a83a20cb9bd25f17897a75b15440
treedd3fb6773857fcda95956257e63d1851f1c8062d
parent0cd3e17f5bc819a45fd824a00ca44c0ea61c1c12
vboot_signer: Add kernel subkey required for signing kernel keyblock

Currently, the keyblock was being generated using
data_key.vbprivk. However, we need to use kernel_subkey.vbprivk for
kernel keyblock generation. This did not create any issues until now
because dev-mode just throws a message saying that keyblock is
invalid. But, normal-mode does not boot if keyblock is
invalid. Add extra parameter for passing in kernel subkey to
vboot_signer script.

TEST="make bootimage-nodeps" generates correctly signed
boot.img. Verified that the image boots fine in normal mode.

Change-Id: I0fc2183b466e34ddf1d98c9532072548504fcec4
Signed-off-by: Furquan Shaikh <furquan@google.com>
core/Makefile
core/product.mk
target/product/vboot.mk