util/board-status: Reject logs with unknown timestamps

Check the output of `cbmem -t` for unknown timestamps. If present, ask
the user to rebuild `cbmem`.

Change-Id: Ief7aa1a698f10d9721964ad1bee057fcd9f4aa40
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41857
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Paul Menzel 2020-05-29 02:24:09 +02:00 committed by Patrick Georgi
parent 91323593f3
commit df5571dc9d
1 changed files with 6 additions and 0 deletions

View File

@ -459,6 +459,12 @@ if [ $(grep -- -dirty "${tmpdir}/${results}/coreboot_console.txt") ]; then
exit $EXIT_FAILURE
fi
if [ $(grep -- unknown "${tmpdir}/${results}/coreboot_timestamps.txt") ]; then
echo "Unknown timestamps found in 'coreboot_timestamps.txt'." \
"Please rebuild the 'cbmem' utility and try again."
exit $EXIT_FAILURE
fi
#
# Finish up.
#