diff options
author | Furquan Shaikh <furquan@google.com> | 2015-08-07 11:58:05 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2015-08-07 12:01:20 -0700 |
commit | e8c212235fc4a83a20cb9bd25f17897a75b15440 (patch) | |
tree | dd3fb6773857fcda95956257e63d1851f1c8062d /target | |
parent | 0cd3e17f5bc819a45fd824a00ca44c0ea61c1c12 (diff) | |
download | build-e8c212235fc4a83a20cb9bd25f17897a75b15440.zip build-e8c212235fc4a83a20cb9bd25f17897a75b15440.tar.gz build-e8c212235fc4a83a20cb9bd25f17897a75b15440.tar.bz2 |
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>
Diffstat (limited to 'target')
-rw-r--r-- | target/product/vboot.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/product/vboot.mk b/target/product/vboot.mk index e4b1144..48a4883 100644 --- a/target/product/vboot.mk +++ b/target/product/vboot.mk @@ -22,3 +22,4 @@ PRODUCT_SUPPORTS_VBOOT := true # We expect this file to exist with the suffixes ".vbprivk" and ".vbpupk". # TODO: find a proper location for this PRODUCT_VBOOT_SIGNING_KEY := external/vboot_reference/tests/devkeys/kernel_data_key +PRODUCT_VBOOT_SIGNING_SUBKEY := external/vboot_reference/tests/devkeys/kernel_subkey |