]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut: install ld.so.conf* with dracut_install instead of cp
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Wed, 16 Mar 2011 20:24:28 +0000 (21:24 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 16 Mar 2011 20:42:30 +0000 (21:42 +0100)
dracut

diff --git a/dracut b/dracut
index 10e86d0e719ac5106f8199fb88e0d1d06b51b986..aaf6485b14d8841c49654a1518dc769a3f14f81c 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -494,7 +494,7 @@ done
 unset item
 
 # make sure that library links are correct and up to date
-cp -ar /etc/ld.so.conf* "$initdir"/etc
+dracut_install /etc/ld.so.conf /etc/ld.so.conf.d/*
 ldconfig -r "$initdir" || [[ $UID != "0" ]] && \
     dinfo "ldconfig might need uid=0 (root) for chroot()"