Project

General

Profile

Set Preloader image timestamp to zero

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


Replies (1)

RE: Set Preloader image timestamp to zero - Added by Michael Williamson over 1 year ago

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

    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)