Forums » Software Development »
Added by Saumil Patel over 1 year ago
Hello,
We have configured jenkins to create the preloader binary for us. We want the ability to generate the exact same binary if there are no code/version changes. Currently the binaries created are different most likely because the time stamp is different.
How do I set the timestamp to zero or disable it in order to achieve the exact same binary generated?
Thanks,
Saumil
Hi Saumil,
Take a look here:
https://u-boot.readthedocs.io/en/latest/build/reproducible.html
Seems like defining the "SOURCE_DATE_EPOCH" in the command to the making uboot will get you the same binary?
-Mike