diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/board_status/board_status.sh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 2e93fe22fe..dd3d8f2c5e 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -422,12 +422,6 @@ 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" @@ -456,6 +450,16 @@ else fi # +# Check files +# +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 + +# # Finish up. # coreboot_dir=$(pwd) |