Sergey Alirzaev has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32129
Change subject: util/genbuild_h: don't expect `git log` not printing the signature cruft ......................................................................
util/genbuild_h: don't expect `git log` not printing the signature cruft
Explicitly ask it not to.
Signed-off-by: Sergey Alirzaev zl29ah@gmail.com Change-Id: I102ecc79bb649a67661c3d22988453dc7741acda --- M util/genbuild_h/genbuild_h.sh 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/32129/1
diff --git a/util/genbuild_h/genbuild_h.sh b/util/genbuild_h/genbuild_h.sh index 340de35..5c45b2b 100755 --- a/util/genbuild_h/genbuild_h.sh +++ b/util/genbuild_h/genbuild_h.sh @@ -27,9 +27,9 @@ TIMESOURCE="fixed" DATE=0 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 - DATE=$(git log --pretty=format:%ct -1) + DATE=$(git log --no-show-signature --pretty=format:%ct -1) else GITREV=Unknown TIMESOURCE="date"