Skip to content

Commit

Permalink
Merge pull request #92964 from lopsided98/initrd-secrets-compressor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Aug 13, 2020
2 parents 45d0002 + ab5faea commit 2822451
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/modules/system/boot/stage-1.nix
Expand Up @@ -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
Expand Down

0 comments on commit 2822451

Please sign in to comment.