diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-08-13 21:59:15 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-08-13 21:59:15 +0200 |
commit | afe22f645aa613f4e2c14172daba037875af39b6 (patch) | |
tree | 505edf28b87250af4758c20678ec2dec0146fcd0 /nixos/modules/system | |
parent | 7e189c56a16382e1987a847b24bc34d8b957fd98 (diff) | |
parent | c35a75c28cd090893452e97d6b2112ee44b42f58 (diff) |
Merge branch 'staging-next' into staging
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 7f13f67e8ef6..a04660fb56e7 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -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 |