summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/image_signing/sign_official_build.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/image_signing/sign_official_build.sh b/scripts/image_signing/sign_official_build.sh
index 896f2b13..fbc844ce 100755
--- a/scripts/image_signing/sign_official_build.sh
+++ b/scripts/image_signing/sign_official_build.sh
@@ -782,7 +782,10 @@ get_is_reven() {
sudo umount "${rootfs_dir}"
- if [[ "${board}" == "reven" ]]; then
+ # When run by the signer, the board name will look like
+ # "reven-signed-mp-v2keys". Also accept plain "reven" for local
+ # testing.
+ if [[ "${board}" == "reven-signed"* || "${board}" == "reven" ]]; then
echo "true"
else
echo "false"