[coreboot-gerrit] New patch to review for coreboot: board_status: Abort early if the coreboot image doesn't exist
Jonathan Neuschäfer (j.neuschaefer@gmx.net)
gerrit at coreboot.org
Sat May 7 06:07:08 CEST 2016
Jonathan Neuschäfer (j.neuschaefer at gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14683
-gerrit
commit a4f69a461a2556c0cfe49190b48d5f5adf1b87f4
Author: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
Date: Fri May 6 01:16:11 2016 +0200
board_status: Abort early if the coreboot image doesn't exist
Change-Id: I274c990e69634ebcb9dd77470cbf1515281de312
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
util/board_status/board_status.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index fd0c8a8..f897bdc 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -253,6 +253,11 @@ if [ $? -ne 0 ]; then
exit $EXIT_FAILURE
fi
+if [ ! -e "$COREBOOT_IMAGE" ]; then
+ echo "board_status needs $COREBOOT_IMAGE, but it does not exist."
+ exit $EXIT_FAILURE
+fi
+
# Results will be placed in a temporary location until we're ready to upload.
# If the user does not wish to upload, results will remain in /tmp.
tmpdir=$(mktemp -d --tmpdir coreboot_board_status.XXXXXXXX)
More information about the coreboot-gerrit
mailing list