diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-10-24 09:24:57 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-30 13:00:31 +0000 |
commit | 2b499db19cd9bd14292457716b50dc62ed90515d (patch) | |
tree | 2115d50f4386c3e0c31f7fbe67aee6890351ad6d /meta/recipes-core/glibc | |
parent | 6bf06d80c2ce03dfdedac5ad8cf42ef8e36b0ecb (diff) | |
download | openembedded-core-contrib-2b499db19cd9bd14292457716b50dc62ed90515d.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
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
-rw-r--r-- | meta/recipes-core/glibc/glibc-package.inc | 3 |
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 13209f54c04..6212e5b38e9 100644 --- a/meta/recipes-core/glibc/glibc-package.inc +++ b/meta/recipes-core/glibc/glibc-package.inc @@ -92,8 +92,9 @@ do_install_append () { fi if [ "${USE_LDCONFIG}" != "1" ]; then - # We won't ship this file (see FILES above) so let's not install it + # We won't ship these files (see FILES above) so let's not install them rm -f ${D}${sysconfdir}/ld.so.conf + rm -f ${D}${base_sbindir}/ldconfig # This directory will be empty now so remove it too. # But check whether it exists first, since it won't for glibc-initial. if [ -d ${D}${sysconfdir} ]; then |