summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-13 17:08:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-03 09:53:49 +0100
commit941a1341d78c11ee8e088cfa032b0d7b02a7e3bf (patch)
tree4e3c0a60c86aaf88fc63842dbd644f1850ca0024 /meta
parentf16f69462b5f77391002628d70f614b301384775 (diff)
downloadpoky-941a1341d78c11ee8e088cfa032b0d7b02a7e3bf.tar.gz
bitbake.conf: Set and export TZ envvar to UTC
We just ran into an issue where tar failed to build on one server setup but built everywhere else just fine. It was running makeinfo to regenerate some docs files and makeinfo was too old for the host it was running on. There was no dependency on makeinfo-native as it was not meant to be regenerating the docs. It was being regenerated as a date from a timestamp used in the docs was different in Asian timezones than in the other timezones our builds were being tested in. I added an entry to https://wiki.yoctoproject.org/wiki/TipsAndTricks/ about how this was debugged. As such, lets default to setting and exporting TZ to 'UTC' as was already pioneered by the reproducibile builds work. This makes the builds deterministic. [YOCTO #12665] (From OE-Core rev: 2a90ae7a3286724ff9e3615c4dbf56038f703810) (From OE-Core rev: e31f31f81efe4b60938b724bece2a03c7c74a68d) (From OE-Core rev: 2c72aa56e6065100582cb17f281c4c11521712e6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Drop simple.bbclass changes] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 1cdbf430a9..e5dc1ac2f7 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -536,6 +536,7 @@ export MAKE = "make"
536EXTRA_OEMAKE = "" 536EXTRA_OEMAKE = ""
537EXTRA_OECONF = "" 537EXTRA_OECONF = ""
538export LC_ALL = "en_US.UTF-8" 538export LC_ALL = "en_US.UTF-8"
539export TZ = 'UTC'
539 540
540################################################################## 541##################################################################
541# Patch handling. 542# Patch handling.