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
ensure theme builds are reproducible (bsc #1124165) #35
Conversation
themes/openSUSE/Makefile
Outdated
|
|
||
| message: src/main.bin src/gfxboot.cfg help-boot/.ready po/.ready fonts/.ready | ||
| @rm -rf message.dir | ||
| @mkdir message.dir | ||
| perl -p -e 's/^(layout=.*)/$$1,boot/' src/gfxboot.cfg >message.dir/gfxboot.cfg | ||
| perl -p -e 's/^(layout=.*)/$$1,boot/' src/gfxboot.cfg >message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this intentional? What is the reasoning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good spotting; that's of course nonsense.
Themes contains two cpio archives. Ensure they are identical in each build.
Apply fixes for reproducibilty, similar to: openSUSE#35 See also: https://bugs.debian.org/978946 https://tests.reproducible-builds.org/debian/issues/unstable/users_and_groups_in_cpio_archive_issue.html
…akefile as a reference time. Similar to fixes applied in other themes: openSUSE#35 See also: https://bugs.debian.org/978946 https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_cpio_archive_issue.html
|
I can confirm that this has normalised the mtime of the files. However, the issue that remains is that the order of the files within the themes files is inherited from the underlying filesystem. So we can end up with diffs like: Untested patch: |
Themes contains two cpio archives. Ensure they are identical in each
build.