From: Harald Hoyer Date: Wed, 4 Mar 2009 16:35:14 +0000 (+0100) Subject: only run ldconfig on /lib and /usr/lib with -n X-Git-Tag: 0.1~391 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=962a11e74a8626f71e6f1801dda0f7e5bd6ed17b;p=thirdparty%2Fdracut.git only run ldconfig on /lib and /usr/lib with -n This also suppresses error messages about missing ld.so.conf --- diff --git a/dracut b/dracut index c860b0b65..8aef48907 100755 --- a/dracut +++ b/dracut @@ -68,6 +68,6 @@ unset moddir } # make sure that library links are correct and up to date -ldconfig -r "$initdir" +ldconfig -n -r "$initdir" /lib /usr/lib ( cd "$initdir"; find . |cpio -H newc -o |gzip -9 > "$outfile"; )