-
Notifications
You must be signed in to change notification settings - Fork 290
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
dracut: Create reproducible images #2170
Conversation
Without reproducible images, a rebuild of the initrd will create a different image file (due to things like creation time of the files in the cpio archive) even if the actual contents in it are exactly the same, adding an unnecessary download during updates. Adding 'reproducible=yes' avoids this and creates the same image files for the same content.
Hi @jprvita. Thanks for your PR. I'm waiting for a ostreedev member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
We are shipping this change on Endless OS downstream. |
Wouldn't it be cleaner to have whatever runs Realistically, this is probably fine and I agree that most (all?) users of ostree + dracut would want this. Though it feels like this is at the wrong level of the stack; given that Anyway, weak Will let @cgwalters have a look. |
Agree with @jlebon - this is a distro decision, not ostree's decision (though it clearly benefits ostree-based systems a lot). I also think basically everyone should be using But that said, this doesn't hurt so |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, jlebon, jprvita, mwleeds The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Without reproducible images, a rebuild of the initrd will create a
different image file (due to things like creation time of the files in
the cpio archive) even if the actual contents in it are exactly the
same, adding an unnecessary download during updates.
Adding 'reproducible=yes' avoids this and creates the same image files
for the same content.