[Buildroot] [PATCH v5 02/19] fakedate: new package

Jérôme Pouiller jezz at sysmic.org
Wed Feb 8 14:10:37 UTC 2017


Hello Peter,

On Tuesday 07 February 2017 21:49:30 Peter Korsgaard wrote:
> >>>>> "Jérôme" == Jérôme Pouiller <jezz at sysmic.org> writes:
> 
>  > `date' is widely used by packages to include build information in 
their
>  > binaries. Unfortunately, this is incompatible with  
BR2_REPRODUCIBLE.
> 
>  > Instead of having to identify all `date' invocations in the 
different
>  > packages, this commit adds a small tool that allows to always 
return
>  > the same date.
[...]

> Would using something like libfaketime not be a more generic solution?
> 
> https://github.com/wolfcw/libfaketime

You mean enabling something like libfaketime for whole compile process?

I think it would break compilation process. In add, I prefer to have a 
very tight control over necessary conditions to override 'date' output.

-- 
Jérôme Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr



More information about the buildroot mailing list