Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1341)

Unified Diff: scripts/image_signing/cros_resign_image_standalone.sh

Issue 3026018: Add script for re-signing final firmware images with the correct keys. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: . Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « firmware/version.c ('k') | scripts/image_signing/resign_firmwarefd.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/image_signing/cros_resign_image_standalone.sh
diff --git a/scripts/image_signing/cros_resign_image_standalone.sh b/scripts/image_signing/cros_resign_image_standalone.sh
index 13a4dfbe4bccf7580373d928898408d5e6c2609a..6bfc9a45f9659150b649a92d0b89156c7f7757c6 100755
--- a/scripts/image_signing/cros_resign_image_standalone.sh
+++ b/scripts/image_signing/cros_resign_image_standalone.sh
@@ -5,7 +5,7 @@
# found in the LICENSE file.
# Standalone version of cros_resign_image.sh script from
-# from chromeos/src/scripts/bin/ for use on signing servers.
+# chromeos/src/scripts/bin/ for use on signing servers.
# Both the cgpt tool and vbutil_kernel should be in the system path.
@@ -28,8 +28,8 @@ sector_size=512 # sector size in bytes
num_sectors_vb=128 # number of sectors in kernel verification blob
src_bin=$1
dst_bin=$2
-datakey=$3
-keyblock=$4
+kernel_datakey=$3
+kernel_keyblock=$4
koffset="$(cgpt show -b -i 2 $1)"
ksize="$(cgpt show -s -i 2 $1)"
« no previous file with comments | « firmware/version.c ('k') | scripts/image_signing/resign_firmwarefd.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698