Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to override build date with SOURCE_DATE_EPOCH #57

Merged
merged 1 commit into from Jul 5, 2020

Conversation

bmwiedemann
Copy link

Allow to override build date with SOURCE_DATE_EPOCH to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.

Also use UTC to be independent of timezone.
This date call only works with GNU date.

This patch was imported from https://bugs.debian.org/886386
and successfully tested on openSUSE.

Signed-off-by: Bernhard M. Wiedemann

in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

Also use UTC to be independent of timezone.
This date call only works with GNU date.

This patch was imported from https://bugs.debian.org/886386
and successfully tested on openSUSE.

Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
@tzafrir-mellanox
Copy link
Contributor

Looked at it and it makes sense. Please include it.

@bmwiedemann
Copy link
Author

ping. Anything I can help to get this merged?

@DanGoldbergMellanox DanGoldbergMellanox merged commit b4df9ff into Mellanox:master Jul 5, 2020
@bmwiedemann bmwiedemann deleted the time branch July 6, 2020 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants