Skip to content
Snippets Groups Projects
Commit 8330bcde authored by Ben Hutchings's avatar Ben Hutchings
Browse files

mkinitramfs: Use cp -p option for ld.so.conf* instead of -aZ


This is consistent with all the other copies into the initramfs.

Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 0db57528
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,7 @@ depmod -a -b "${DESTDIR}" "${version}"
rm -f "${DESTDIR}/lib/modules/${version}"/modules.*map
# make sure that library search path is up to date
cp -aZ /etc/ld.so.conf* "$DESTDIR"/etc/
cp -pPr /etc/ld.so.conf* "$DESTDIR"/etc/
if ! ldconfig -r "$DESTDIR" ; then
[ "$(id -u)" != "0" ] \
&& echo "ldconfig might need uid=0 (root) for chroot()" >&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment