947a22b332
The SOURCE_DATE_EPOCH is an effort of the Reproducible Builds organization to make timestamps/build dates in compiled tools deterministic over several repetitive builds. Busybox shows by default the build date timestamp which changes whenever compiled. To have a reasonable accurate build date while staying reproducible, it's possible to use the *date of last source modification* rather than the current time and date. Further information on SOURCE_DATE_EPOCH are available online [1]. This patch modifies `confdata.c` so that the content of the SOURCE_DATE_EPOCH env variable is used as timestamp. To be independent of different timezones between builds, whenever SOURCE_DATE_EPOCH is defined the GMT time is used. [1]: https://reproducible-builds.org/docs/source-date-epoch/ Signed-off-by: Paul Spooren <mail@aparcar.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
basic | ||
kconfig | ||
bb_release | ||
bloat-o-meter | ||
checkhelp.awk | ||
checkstack.pl | ||
cleanup_printf2puts | ||
echo.c | ||
embedded_scripts | ||
find_bad_common_bufsiz | ||
find_stray_common_vars | ||
find_stray_empty_lines | ||
fix_ws.sh | ||
gcc-version.sh | ||
gen_build_files.sh | ||
generate_BUFSIZ.sh | ||
Kbuild.include | ||
Kbuild.src | ||
Makefile.build | ||
Makefile.clean | ||
Makefile.host | ||
Makefile.IMA | ||
Makefile.lib | ||
memusage | ||
mkconfigs | ||
mkdiff_obj | ||
mkdiff_obj_bloat | ||
mkmakefile | ||
objsizes | ||
randomtest | ||
randomtest.loop | ||
sample_pmap | ||
showasm | ||
test_make_clean | ||
test_make_O | ||
test_setenv_leak.c | ||
trylink |