[coreboot-gerrit] Patch set updated for coreboot: ed2f32d genbuild_h: timestamps should not depend on LANG or LC_ALL

Alexander Couzens (lynxis@fe80.eu) gerrit at coreboot.org
Sat Jun 6 21:13:51 CEST 2015


Alexander Couzens (lynxis at fe80.eu) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10447

-gerrit

commit ed2f32d10082dd0f7241e3ca660ec36e4c2168b6
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Sat Jun 6 21:03:29 2015 +0200

    genbuild_h: timestamps should not depend on LANG or LC_ALL
    
    Also move overwritten env variables to the top and export them.
    Fix reproducible builds.
    
    Change-Id: I3b0a21f93daee09605c0c2a05c1739e04f44527f
    Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 util/genbuild_h/genbuild_h.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/genbuild_h/genbuild_h.sh b/util/genbuild_h/genbuild_h.sh
index 6120c1b..3d25276 100755
--- a/util/genbuild_h/genbuild_h.sh
+++ b/util/genbuild_h/genbuild_h.sh
@@ -27,7 +27,7 @@ if [ -d "${top}/.git" ] && [ -f "$(command -v git)" ]; then
 	DATE=$(git log --pretty=format:%ct -1)
 else
 	GITREV=Unknown
-	TIMESOURCE="LANG= TZ=UTC date"
+	TIMESOURCE="LANG=C LC_ALL=C TZ=UTC date"
 	DATE=$(date +%s)
 fi
 



More information about the coreboot-gerrit mailing list