diff options
author | Thomas Watson <twatson52@icloud.com> | 2022-01-28 21:28:16 -0600 |
---|---|---|
committer | tomberek <tomberek@users.noreply.github.com> | 2022-01-29 18:07:11 -0500 |
commit | d8bb89b9fff31d6de8b025ee6ee674bbc8909860 (patch) | |
tree | 8471e4930668a79e6c663c4b62e670c83557399f /pkgs/build-support/kernel | |
parent | f1a3e3e21c9a1c3d7e683a2f0ac5bcce8e90eb1d (diff) |
make-initrd: fix reproducibility problems with hard links
Diffstat (limited to 'pkgs/build-support/kernel')
-rw-r--r-- | pkgs/build-support/kernel/make-initrd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/kernel/make-initrd.sh b/pkgs/build-support/kernel/make-initrd.sh index 70884741af3a6..0a87d643546a5 100644 --- a/pkgs/build-support/kernel/make-initrd.sh +++ b/pkgs/build-support/kernel/make-initrd.sh @@ -31,7 +31,7 @@ storePaths=$(perl $pathsFromGraph closure-*) # Paths in cpio archives *must* be relative, otherwise the kernel # won't unpack 'em. -(cd root && cp -prd --parents $storePaths .) +(cd root && cp -prP --parents $storePaths .) # Put the closure in a gzipped cpio archive. |