]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf: Set and export TZ envvar to UTC
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Apr 2018 16:08:10 +0000 (17:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Apr 2018 16:15:38 +0000 (17:15 +0100)
commit2a90ae7a3286724ff9e3615c4dbf56038f703810
tree4f8a10c8ef73b8a6fcf9749cb4bcf45a3d9e11ee
parent4b27ab6487a54b42a52aa16e98ea4d19fa62b5ae
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]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/reproducible_build_simple.bbclass
meta/conf/bitbake.conf