diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2019-12-04 11:39:58 +0100 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-12-04 11:46:30 +0100 |
commit | af1694c7044aee54761750080819d5c5d6ce09e4 (patch) | |
tree | 7f26731b86b374a4eadf5c3c92a9a894898d98bc /conf/distro | |
parent | 11c74182b23a4d4fd3ddf3f756522c1df54a8653 (diff) | |
download | meta-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.inc | 5 |
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" | |||
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. | 13 | # Enable reproducible builds. Use 0 as mtime, the same as OSTree is using. |
14 | INHERIT_remove = "reproducible_build" | ||
14 | INHERIT += "reproducible_build_simple" | 15 | INHERIT += "reproducible_build_simple" |
15 | 16 | ||
16 | export SOURCE_DATE_EPOCH ?= "0" | 17 | export SOURCE_DATE_EPOCH = "0" |
17 | REPRODUCIBLE_TIMESTAMP_ROOTFS ?= "0" | 18 | REPRODUCIBLE_TIMESTAMP_ROOTFS = "0" |
18 | 19 | ||
19 | HOSTTOOLS_append = " sync sha256sum" | 20 | HOSTTOOLS_append = " sync sha256sum" |