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

Omit BUILD_HOST_NAME for reproducible builds #215

Merged
merged 1 commit into from Dec 2, 2023

Conversation

bmwiedemann
Copy link
Contributor

Distributions that want reproducible builds, set the SOURCE_DATE_EPOCH
environment variable. In this case, we should not record the build
host name to allow for bit-identical rebuilds elsewhere.

This PR was done while working on reproducible builds for openSUSE.

Distributions that want reproducible builds, set the SOURCE_DATE_EPOCH
environment variable. In this case, we should not record the build
host name to allow for bit-identical rebuilds elsewhere.

This patch was done while working on reproducible builds for openSUSE.
@bmwiedemann
Copy link
Contributor Author

An alternative would be to drop BUILD_HOST_NAME completely. It would simplify the code.

@dragotin dragotin merged commit e33d03f into dragotin:master Dec 2, 2023
@dragotin
Copy link
Owner

dragotin commented Dec 2, 2023

Thank you @bmwiedemann for this patch, and sorry for screwing it up in the first place.

The build host was an explicit wish by a community member, so I'd like to keep it.

@bmwiedemann bmwiedemann deleted the hostname branch February 6, 2024 15:35
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

2 participants