diff options
| author | Anton Gerasimov <tossel@gmail.com> | 2019-02-05 15:55:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-05 15:55:23 +0100 |
| commit | bf827e6261caa7e78a98e7448daa2afb3e8d4001 (patch) | |
| tree | d78efe93727829f31986af5864928a026b740d43 | |
| parent | b1db05a11a66ab03714863a940604a7af531e996 (diff) | |
| parent | 3d3a0bf9faff855bb4bc0b17611036d3cfbc7ff9 (diff) | |
| download | meta-updater-bf827e6261caa7e78a98e7448daa2afb3e8d4001.tar.gz | |
Merge pull request #467 from agners/use-reproducible-builds
sota.conf: use reproducible builds by default
| -rw-r--r-- | conf/distro/sota.conf.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc index 8de9597..f6111bf 100644 --- a/conf/distro/sota.conf.inc +++ b/conf/distro/sota.conf.inc | |||
| @@ -10,4 +10,10 @@ INHERIT += " sota" | |||
| 10 | # Prelinking increases the size of downloads and causes build errors | 10 | # Prelinking increases the size of downloads and causes build errors |
| 11 | USER_CLASSES_remove = "image-prelink" | 11 | USER_CLASSES_remove = "image-prelink" |
| 12 | 12 | ||
| 13 | # Enable reproducible builds. Use 0 as mtime, the same as OSTree is using. | ||
| 14 | INHERIT += "reproducible_build_simple" | ||
| 15 | |||
| 16 | export SOURCE_DATE_EPOCH ?= "0" | ||
| 17 | REPRODUCIBLE_TIMESTAMP_ROOTFS ?= "0" | ||
| 18 | |||
| 13 | HOSTTOOLS_append = " sync sha256sum" | 19 | HOSTTOOLS_append = " sync sha256sum" |
