From d85bf2432a1a1ef777a90094629f4cef7f8a4e7f Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Tue, 2 Jul 2013 16:15:23 -0700 Subject: [PATCH] feat(core_upload_update): insert the public key shove the public key into the image so it can be found by update_engine --- core_upload_update | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core_upload_update b/core_upload_update index 8e870dfd87..199a2769ed 100755 --- a/core_upload_update +++ b/core_upload_update @@ -42,6 +42,9 @@ switch_to_strict_mode [[ -z "${FLAGS_private_key}" ]] && die "--private_key is required" [[ -z "${FLAGS_public_key}" ]] && die "--public_key is required" +# Put our public key in a place that update_engine can find it +${SRC_ROOT}/platform/vboot_reference/scripts/image_signing/insert_au_publickey.sh ${FLAGS_image} ${FLAGS_public_key} + # Generate a payload and sign it with our private key cros_generate_update_payload --image ${FLAGS_image} --output /tmp/update.gz \ --private_key ${FLAGS_private_key}