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-initrd: create reproducible initrds #21301

Merged
merged 1 commit into from
Dec 20, 2016

Conversation

joachifm
Copy link
Contributor

Supercedes #21273

To achieve reproducible results, `cpio` archive members are added in
sorted order and inodes renumbered.

The `cpio-clean.pl` script is made obsolete by setting mtimes via
`touch` & using `cpio --reproducible`.  Suggested by @dezgeg in
NixOS#21273 (comment).

Note that using `--reproducible` means that initial ramdisk creation now
requires at least `cpio` version 2.12 (released in 2015).
@mention-bot
Copy link

@joachifm, thanks for your PR! By analyzing the history of the files in this pull request, we identified @alexanderkjeldaas, @wkennington and @edolstra to be potential reviewers.

@joachifm joachifm merged commit 5a81474 into NixOS:master Dec 20, 2016
@joachifm joachifm deleted the deterministic-initramfs-v2 branch March 13, 2017 23:45
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

3 participants