[OE-core] [PATCH 1/1] rpm_4.14.0: clamp timestamps by default

Alexander Kanavin alexander.kanavin at linux.intel.com
Wed Jan 3 08:47:33 UTC 2018


On 01/03/2018 01:16 AM, Juro Bystricky wrote:
> Improve reproducibility by making sure that timestamps
> in built rpms are not later than the value of SOURCE_DATE_EPOCH as
> found in the environment.
> Timestamps as usual when SOURCE_DATE_EPOCH is not set.

I'm not sure I understand the necessity of this. What matters for 
reproducibility is that rpms install the same files; why is it important 
that the rpm file itself has exactly same build time and is otherwise 
identical bit by bit?

A technicality: do not patch mnacros.in, set the macro directly from 
package_rpm.bbclass.

Alex



More information about the Openembedded-core mailing list