mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
make-initrd: fix reproducibility problems with hard links
This commit is contained in:
parent
f1a3e3e21c
commit
d8bb89b9ff
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user