From 1a0a603ec78ebd2ca1a7e0174c8ab13e937721cb Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 25 Oct 2008 18:58:00 +0200 Subject: package bbclass: only run ldconfig when there's a ld.so.conf present --- classes/package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/package.bbclass') diff --git a/classes/package.bbclass b/classes/package.bbclass index fd72a6dc6e..1dc26fdc54 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -558,7 +558,7 @@ emit_pkgdata[dirs] = "${PKGDATA_DIR}/runtime" ldconfig_postinst_fragment() { if [ x"$D" = "x" ]; then - [ -x /sbin/ldconfig ] && /sbin/ldconfig + [ -x /sbin/ldconfig ] && [ -e /etc/ld.so.conf ] && /sbin/ldconfig fi } -- cgit v1.2.3