Bug 11179

Summary: Ensure TZ is also set to a consistent value
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Joshua Lock <joshuagloe>
Component: coreAssignee: Juro Bystricky <juro.bystricky>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher
Version: 2.4   
Target Milestone: 2.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Joshua Lock 2017-03-17 15:16:12 UTC
Locale and Timezone settings of a shell in which builds are performed can affect the build output in various ways[1][2], adding non-determinism to the system when building on machines with different TZ settings.

We should export a consistent TZ and locale to the environment in which builds are performed in order to improve the determinism of our build output.

1. https://reproducible-builds.org/docs/timezones/
2. https://reproducible-builds.org/docs/locales/
Comment 1 Juro Bystricky 2017-08-30 23:13:15 UTC
Incremental progress. Moving to 2.5 M1
Comment 2 Juro Bystricky 2017-08-30 23:43:34 UTC
Patch sent to the ML:https://patchwork.openembedded.org/patch/143060/

This being an enhancement, it is unlikely to be merged in 2.4M4, so moving to 2.5M1