summaryrefslogtreecommitdiffstats
path: root/conf/distro
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-12-04 11:39:58 +0100
committerLaurent Bonnans <laurent.bonnans@here.com>2019-12-04 11:46:30 +0100
commitaf1694c7044aee54761750080819d5c5d6ce09e4 (patch)
tree7f26731b86b374a4eadf5c3c92a9a894898d98bc /conf/distro
parent11c74182b23a4d4fd3ddf3f756522c1df54a8653 (diff)
downloadmeta-updater-af1694c7044aee54761750080819d5c5d6ce09e4.tar.gz
Force a simple reproducible build mechanismfix/simple-reproducible
In 25a17f0346ab05b3212bb280e4a8b622bcf99bce, poky sets reproducible_build by defaults. However, it is quite complex as it tries to compute a plausible timestamp from source files, in a reproducible ways. Setting the timestamps to 0, just like ostree, is probably safer in our case, so let's switch to our old behavior. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'conf/distro')
-rw-r--r--conf/distro/sota.conf.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc
index f6111bf..69d729c 100644
--- a/conf/distro/sota.conf.inc
+++ b/conf/distro/sota.conf.inc
@@ -11,9 +11,10 @@ INHERIT += " sota"
11USER_CLASSES_remove = "image-prelink" 11USER_CLASSES_remove = "image-prelink"
12 12
13# Enable reproducible builds. Use 0 as mtime, the same as OSTree is using. 13# Enable reproducible builds. Use 0 as mtime, the same as OSTree is using.
14INHERIT_remove = "reproducible_build"
14INHERIT += "reproducible_build_simple" 15INHERIT += "reproducible_build_simple"
15 16
16export SOURCE_DATE_EPOCH ?= "0" 17export SOURCE_DATE_EPOCH = "0"
17REPRODUCIBLE_TIMESTAMP_ROOTFS ?= "0" 18REPRODUCIBLE_TIMESTAMP_ROOTFS = "0"
18 19
19HOSTTOOLS_append = " sync sha256sum" 20HOSTTOOLS_append = " sync sha256sum"