util/genbuild_h: Do not print PGP verification results in `git log` output

Signed-off-by: Sergey Alirzaev <zl29ah@gmail.com>
Change-Id: I102ecc79bb649a67661c3d22988453dc7741acda
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32129
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Sergey Alirzaev 2019-03-31 01:09:57 +03:00 committed by Patrick Georgi
parent 5c76ed66b8
commit 8f6f3ac199
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ if [ "${BUILD_TIMELESS}" = "1" ]; then
TIMESOURCE="fixed" TIMESOURCE="fixed"
DATE=0 DATE=0
elif [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ]; then elif [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ]; then
GITREV=$(LANG= git log -1 --format=format:%h) GITREV=$(LANG= git log --no-show-signature -1 --format=format:%h)
TIMESOURCE=git TIMESOURCE=git
DATE=$(git log --pretty=format:%ct -1) DATE=$(git log --no-show-signature --pretty=format:%ct -1)
else else
GITREV=Unknown GITREV=Unknown
TIMESOURCE="date" TIMESOURCE="date"