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
|
# Paths in cpio archives *must* be relative, otherwise the kernel
|
||||||
# won't unpack 'em.
|
# won't unpack 'em.
|
||||||
(cd root && cp -prd --parents $storePaths .)
|
(cd root && cp -prP --parents $storePaths .)
|
||||||
|
|
||||||
|
|
||||||
# Put the closure in a gzipped cpio archive.
|
# Put the closure in a gzipped cpio archive.
|
||||||
|
Loading…
Reference in New Issue
Block a user