-
Notifications
You must be signed in to change notification settings - Fork 19
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
Reproducible builds #82
Comments
I am against "it should be handled by a simple flag" but reproducability of rpm file is acceptable. As you know it is depending on timestamp and other time-related conditions. I believe that these parameter should be manually set by the user who wanna get reproducable builds. Of cause currently compression issue and some missing fields needed to be added to the purpose. Simply speaking, it is just depending on rpm-rs/rpm#117. |
I think a |
Again, simply speaking, this issue is just depending on rpm-rs/rpm#117 and need to clarify on requirements on rpm-rs/rpm. It is impossible to clarify single flag is suitable or not. BTW, the original rpmbuild have such a "simple flag"? |
Yes, I understand. This is why I linked the issue. I created this issue to make it easier to find for users of
IIUC it's done by setting |
So, the feasibility of a fully working simple flag is not clear. Such a simple flag need to be careful about because users expect complete behavior. I will leave this ticket open. Please create other tickets or PRs to introduce each respective settings (mtime, build time, etc.). |
Right now by default
generate-rpm
crates non-reproducible RPMs. It can be worked around by using--payload-compress none
and manually setting modification time of included artifacts right before RPM generation. Ideally, it should be handled by a simple flag.Also I don't quite understand why enabling compression makes builds non-reproducible.
Relevant issue: rpm-rs/rpm#117
The text was updated successfully, but these errors were encountered: