Skip to content
Commit 9a1dde74 authored by Jan-Simon Möller's avatar Jan-Simon Möller Committed by Richard Purdie
Browse files

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

Signed-off-by: default avatarJan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 559f16d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment