summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2012-09-12 00:56:00 -0400
committerGerrit <chrome-bot@google.com>2012-09-12 00:29:28 -0700
commit22bd8b0c29b485ccdaa4f63e6fdac9f097b60aab (patch)
tree0b2180a97696959ce3ec6f340fff3a902be56f86
parent4b193b7f5c97efaf6d44619290d0c0a0fc9f7a43 (diff)
downloadvboot-22bd8b0c29b485ccdaa4f63e6fdac9f097b60aab.tar.gz
sign_official_build.sh: rename "install" to "factory"
This lines up with the terminology that people have been using, and the valid types that can appear in signer instruction files. We keep around the old "install" so that other code continues to work. BUG=None TEST=None BRANCH=none Change-Id: I8d0d2ab4c0ae61f6bcdbcc24ec9796d9eabe386e Reviewed-on: https://gerrit.chromium.org/gerrit/33056 Reviewed-by: David McMahon <djmm@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
-rwxr-xr-xscripts/image_signing/sign_official_build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/image_signing/sign_official_build.sh b/scripts/image_signing/sign_official_build.sh
index 0c256d8e..ad10e7a2 100755
--- a/scripts/image_signing/sign_official_build.sh
+++ b/scripts/image_signing/sign_official_build.sh
@@ -27,7 +27,8 @@ Usage: $PROG <type> input_image /path/to/keys/dir [output_image] [version_file]
where <type> is one of:
ssd (sign an SSD image)
recovery (sign a USB recovery image)
- install (sign a factory install image)
+ factory (sign a factory install image)
+ install (old alias to "factory")
firmware (sign a firmware image)
usb (sign an image to boot directly from USB)
verify (verify an image including rootfs hashes)
@@ -628,7 +629,7 @@ elif [ "${TYPE}" == "recovery" ]; then
${KEY_DIR}/recovery_kernel_data_key.vbprivk \
2
sign_for_recovery ${OUTPUT_IMAGE}
-elif [ "${TYPE}" == "install" ]; then
+elif [ "${TYPE}" == "factory" ] || [ "${TYPE}" == "install" ]; then
cp ${INPUT_IMAGE} ${OUTPUT_IMAGE}
resign_firmware_payload ${OUTPUT_IMAGE}
update_rootfs_hash ${OUTPUT_IMAGE} \