Index: scripts/image_signing/sign_official_build.sh |
diff --git a/scripts/image_signing/sign_official_build.sh b/scripts/image_signing/sign_official_build.sh |
index 8bafcede29244d73ee95bda36924b47d8bfee889..d7565cdb0aa30f8d850f90afe21a0bf34faf40bc 100755 |
--- a/scripts/image_signing/sign_official_build.sh |
+++ b/scripts/image_signing/sign_official_build.sh |
@@ -186,6 +186,11 @@ get_firmwarebin_from_shellball() { |
resign_firmware_payload() { |
local image=$1 |
+ if [ -n "${NO_FWUPDATE}" ]; then |
+ echo "Skipping firmware update." |
+ return |
+ fi |
+ |
# Grab firmware image from the autoupdate shellball. |
local rootfs_dir=$(make_temp_dir) |
mount_image_partition ${image} 3 ${rootfs_dir} |