3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #92964 from lopsided98/initrd-secrets-compressor

This commit is contained in:
Jörg Thalheim 2020-08-13 07:54:01 +01:00 committed by GitHub
commit 28224516e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -374,7 +374,8 @@ let
) config.boot.initrd.secrets)
}
(cd "$tmp" && find . | cpio -H newc -o) | gzip >>"$1"
(cd "$tmp" && find . -print0 | sort -z | cpio -o -H newc -R +0:+0 --reproducible --null) | \
${config.boot.initrd.compressor} >> "$1"
'';
in