From 38a906b0e1994ca71179dcc1a0cfb48566e7c6ed Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 27 Sep 2017 15:06:57 +0200 Subject: util: Make TZ environment variable POSIX compatible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `TZ='UTC'` is not a portable setting for the TZ environment variable. POSIX says you’re supposed to use something like `TZ='UTC0'` instead. Although `TZ='UTC'` works when GLIBC is used, this is not necessarily true on other POSIX platforms. [1][2] [1] http://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20170918/009289.html [2] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_03 Change-Id: I1dca0b84de0ec0af3a103e2cbbf731512eb59497 Signed-off-by: Paul Menzel Reviewed-on: https://review.coreboot.org/21721 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Neuschäfer Reviewed-by: Martin Roth --- util/release/build-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/release') diff --git a/util/release/build-release b/util/release/build-release index 089984b595..a3cec3eb8c 100755 --- a/util/release/build-release +++ b/util/release/build-release @@ -13,7 +13,7 @@ set -e # set local + tz to be reproducible LC_ALL=C LANG=C -TZ=UTC +TZ=UTC0 export LC_ALL LANG TZ if [ -z "$VERSION_NAME" ] || [ "$VERSION_NAME" = "--help" ] || [ -z "$COMMIT_ID" ]; then -- cgit v1.2.3