summaryrefslogtreecommitdiff
path: root/resources/scripts/update/blobs
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/update/blobs')
-rwxr-xr-xresources/scripts/update/blobs/download5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/scripts/update/blobs/download b/resources/scripts/update/blobs/download
index 0896ed47..dbb56e9b 100755
--- a/resources/scripts/update/blobs/download
+++ b/resources/scripts/update/blobs/download
@@ -337,6 +337,11 @@ extract_ec()
unar -D ROM.CAB Rom.bin
mv Rom.bin ec.bin
fi
+ if [ ! -f ec.bin ]; then
+ printf "could not extract ec.bin for board '%s'" ${board} \
+ 1>&2
+ fail "aborting the build. please audit blobutil carefully."
+ fi
"${kbc1126_ec_dump}" ec.bin
)