diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/reproducible_build_simple.bbclass | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/classes/reproducible_build_simple.bbclass b/meta/classes/reproducible_build_simple.bbclass new file mode 100644 index 0000000000..dd11cd98d6 --- /dev/null +++ b/meta/classes/reproducible_build_simple.bbclass | |||
@@ -0,0 +1,11 @@ | |||
1 | # Setup default environment for reproducible builds. | ||
2 | |||
3 | BUILD_REPRODUCIBLE_BINARIES = "1" | ||
4 | |||
5 | export PYTHONHASHSEED = "0" | ||
6 | export PERL_HASH_SEED = "0" | ||
7 | export TZ = 'UTC' | ||
8 | export SOURCE_DATE_EPOCH ??= "1520598896" | ||
9 | |||
10 | REPRODUCIBLE_TIMESTAMP_ROOTFS ??= "1520598896" | ||
11 | |||