Hide packaged firmware AU signing behind a flag for now.

The exact firmware packaging is still very much in flux, not to mention current images don't have the firmware autoupdate package.

BUG=none
TEST=none

Change-Id: Idc60c2c9a8fbc83e0c786b4d4f96f371cdb4a49f

Review URL: http://codereview.chromium.org/3151027
This commit is contained in:
Gaurav Shah
2010-08-19 13:38:27 -07:00
parent dfeb025750
commit 0500524edd

View File

@@ -38,6 +38,12 @@ fi
# Abort on errors. # Abort on errors.
set -e set -e
# Make sure the tools we need are available.
for prereqs in gbb_utility vbutil_kernel cgpt dump_kernel_config verity; do
type -P "${prereqs}" &>/dev/null || \
{ echo "${prereqs} tool not found."; exit 1; }
done
TYPE=$1 TYPE=$1
INPUT_IMAGE=$2 INPUT_IMAGE=$2
KEY_DIR=$3 KEY_DIR=$3
@@ -205,7 +211,9 @@ sign_for_factory_install() {
echo "Output signed factory install image to ${OUTPUT_IMAGE}" echo "Output signed factory install image to ${OUTPUT_IMAGE}"
} }
if [ ! "${FW_NOUPDATE}" == "1" ]; then # Firmware payload signing hidden behind a flag until it actually makes
# it into the image.
if [ ! "${FW_UPDATE}" == "1" ]; then
resign_firmware_payload ${INPUT_IMAGE} resign_firmware_payload ${INPUT_IMAGE}
fi fi