diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2021-02-20 18:29:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-24 00:19:38 +0000 |
commit | 7e9c2f33d4ea9f6449dd56d19ff4522a9ddc2df1 (patch) | |
tree | be233f9a5727c4766205ba352dab7996b3aa3b5c /meta/recipes-devtools | |
parent | e9e23ec77e0fb8fcbcb6684059fe0cadd99e2c04 (diff) | |
download | poky-7e9c2f33d4ea9f6449dd56d19ff4522a9ddc2df1.tar.gz |
reproducible_builds: SOURCE_DATE_EPOCH should not be 0
A SOURCE_DATE_EPOCH of 0 might be misinterpreted by namely rpm as no SDE.
e.g.:
char *srcdate = getenv(SOURCE_DATE_EPOCH);
if (srcdate && rpmExpandNumeric(%{?clamp_mtime_to_source_date_epoch}))
Solve this by:
- providing a SOURCE_DATE_EPOCH_FALLBACK variable != 0
- changing defaults to use it
- using SOURCE_DATE_EPOCH_FALLBACK also when reading 0 out of sstate-cache
(From OE-Core rev: 9a1dde74e794362399193dc3f81c9685a83d0776)
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
0 files changed, 0 insertions, 0 deletions