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

Make Build reproducible #324

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

e4t
Copy link

@e4t e4t commented Mar 27, 2024

This pull request supersedes pull request #323:
There is a project under way to convince and help software projects to make their builds reproducible:
https://reproducible-builds.org/
openSUSE Factory is participating in this by attempting to make the entire build reproducible: https://en.opensuse.org/openSUSE:Reproducible_Builds. If packages contain files that may change between builds, these packages require changes. Since warewulf3 includes CPIO archives of an initramdisk there is a bit more effort involved in making the build reproducible: not only the file content but also the time stamps of the files in these archives matter. Moreover, cpio needs to be run with the option --reproducible.
Out tests have shown that by setting the access and modification time to a fixed reference value using touch is sufficient to make the resulting CPIO archives reproducible.

For reproducible builds, set time stamps in CPIO files to
a well defined value since these archives are distributed.
(On reproducible builds: https://reproducible-builds.org/)

Signed-off-by: Egbert Eich <[email protected]>
@e4t e4t changed the base branch from master to development March 27, 2024 12:34
@e4t
Copy link
Author

e4t commented Mar 27, 2024

The build errors in the CI seem to be unrelated to the patch.

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.

1 participant