Make initrd and the kernel builds repeatable.

This commit is contained in:
Alexander Kjeldaas
2014-04-05 08:41:06 +02:00
parent c69eb7c2c1
commit f67015cae4
5 changed files with 35 additions and 4 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ storePaths=$(perl $pathsFromGraph closure-*)
# Put the closure in a gzipped cpio archive.
mkdir -p $out
(cd root && find * -print0 | cpio -o -H newc --null | $compressor > $out/initrd)
(cd root && find * -print0 | cpio -o -H newc --null | perl $cpioClean | $compressor > $out/initrd)
if [ -n "$makeUInitrd" ]; then
mv $out/initrd $out/initrd.gz