summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/reproducible_build_simple.bbclass11
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
3BUILD_REPRODUCIBLE_BINARIES = "1"
4
5export PYTHONHASHSEED = "0"
6export PERL_HASH_SEED = "0"
7export TZ = 'UTC'
8export SOURCE_DATE_EPOCH ??= "1520598896"
9
10REPRODUCIBLE_TIMESTAMP_ROOTFS ??= "1520598896"
11