summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-10-24 09:24:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:18:25 +0000
commit1eceece8f6c5870fc3198b0df97a5d86fdd5b6b9 (patch)
tree965cce9d2e72bdd92a985abf1938dae922f1c076 /meta/recipes-core
parent0d9dd1d3da8b611c55c9e06fa19d8eef0cbf6c78 (diff)
downloadpoky-1eceece8f6c5870fc3198b0df97a5d86fdd5b6b9.tar.gz
glibc: Delete ldconfig when USE_LDCONFIG is not set
This avoids below QA error/warning /sbin/ldconfig [installed-vs-shipped] Change-Id: I028b692eefeaa6e0e0e6507ab4108caa29e41e91 (From OE-Core rev: 2b499db19cd9bd14292457716b50dc62ed90515d) (From OE-Core rev: 267dc0429e8da7cc292034e1a5ab3eae7786db4e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glibc/glibc-package.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index 13209f54c0..6212e5b38e 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -92,8 +92,9 @@ do_install_append () {
92 fi 92 fi
93 93
94 if [ "${USE_LDCONFIG}" != "1" ]; then 94 if [ "${USE_LDCONFIG}" != "1" ]; then
95 # We won't ship this file (see FILES above) so let's not install it 95 # We won't ship these files (see FILES above) so let's not install them
96 rm -f ${D}${sysconfdir}/ld.so.conf 96 rm -f ${D}${sysconfdir}/ld.so.conf
97 rm -f ${D}${base_sbindir}/ldconfig
97 # This directory will be empty now so remove it too. 98 # This directory will be empty now so remove it too.
98 # But check whether it exists first, since it won't for glibc-initial. 99 # But check whether it exists first, since it won't for glibc-initial.
99 if [ -d ${D}${sysconfdir} ]; then 100 if [ -d ${D}${sysconfdir} ]; then