From 2c7213d4dc5cef71b5cf76c44a12ff14e15dfeb4 Mon Sep 17 00:00:00 2001 From: Hung-Te Lin Date: Thu, 24 Mar 2011 01:35:33 +0800 Subject: [PATCH] vboot_reference: fix make_dev_firmware failure The script to resign firmware (resign_firmwarefd.sh) has changed its syntax, due to the new "dev firmware" design. BUG=chromium-os:13375 TEST=./make_dev_firmware.sh # seeing the "changed firmware to Developer Keys" message. Change-Id: Id553f3ce1641f13e732bd5e208cb2fb00ca9c078 R=rspangler@chromium.org,gauravsh@chromium.org Review URL: http://codereview.chromium.org/6727019 --- scripts/image_signing/make_dev_firmware.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/image_signing/make_dev_firmware.sh b/scripts/image_signing/make_dev_firmware.sh index 3a9348dc2b..d66d6f65c5 100755 --- a/scripts/image_signing/make_dev_firmware.sh +++ b/scripts/image_signing/make_dev_firmware.sh @@ -141,6 +141,8 @@ main() { local recovery_pubkey="$FLAGS_keys/recovery_key.vbpubk" local firmware_keyblock="$FLAGS_keys/firmware.keyblock" local firmware_prvkey="$FLAGS_keys/firmware_data_key.vbprivk" + local dev_firmware_keyblock="$FLAGS_keys/dev_firmware.keyblock" + local dev_firmware_prvkey="$FLAGS_keys/dev_firmware_data_key.vbprivk" local kernel_sub_pubkey="$FLAGS_keys/kernel_subkey.vbpubk" local new_bmpfv="$FLAGS_bmpfv" local is_from_live=0 @@ -225,6 +227,8 @@ main() { "$IMAGE" \ "$firmware_prvkey" \ "$firmware_keyblock" \ + "$dev_firmware_prvkey" \ + "$dev_firmware_keyblock" \ "$kernel_sub_pubkey" >"$EXEC_LOG" 2>&1 || err_die "Failed to re-sign firmware. (message: $(cat "$EXEC_LOG"))"