summaryrefslogtreecommitdiff
path: root/util/board_status
diff options
context:
space:
mode:
Diffstat (limited to 'util/board_status')
-rwxr-xr-xutil/board_status/board_status.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 6d6854d071..a990ce505e 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -426,6 +426,13 @@ else
echo "Getting coreboot boot log"
cmd $LOCAL "$cbmem_cmd -1" "${tmpdir}/${results}/coreboot_console.txt"
+ if [ $(grep -- -dirty "${tmpdir}/${results}/coreboot_console.txt") ]; then
+ echo "coreboot or the payload are built from a source tree in a" \
+ "dirty state, making it hard to reproduce the result. Please" \
+ "check in your source tree with 'git status'."
+ exit $EXIT_FAILURE
+ fi
+
echo "Getting timestamp data"
cmd_nonfatal $LOCAL "$cbmem_cmd -t" "${tmpdir}/${results}/coreboot_timestamps.txt"