]> git.ipfire.org Git - thirdparty/dracut.git/commit
Generate reproducible initramfs images
authorHarald Hoyer <harald@redhat.com>
Thu, 3 Jul 2014 10:52:58 +0000 (12:52 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Aug 2014 11:52:02 +0000 (13:52 +0200)
commit80626ded3e849ba840ddd64c1713be5abb1c7449
treef3ee06f2bb28b8979f39f23bc0185447e58bcff6
parent9efb74a32d34533f7ccb201160ea0e40adc13987
Generate reproducible initramfs images

With the same source of files, it should be possible to generate the
same image file with every dracut run.

To accomplish this, we modify the timestamps of the files we generate at
runtime, call gzip with "-n" and cpio with "--reproducible".

The cpio --reproducible option is not yet upstream though, so if you
feel like it should be then please nag at the cpio mailing list.
http://lists.gnu.org/archive/html/bug-cpio/2014-08/msg00000.html
dracut.8.asc
dracut.conf.5.asc
dracut.sh