diff options
Diffstat (limited to 'pkgs/build-support/kernel/make-initrd.sh')
-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. |