mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
@@ -92,8 +92,9 @@ do_install_append () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${USE_LDCONFIG}" != "1" ]; then
|
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}${sysconfdir}/ld.so.conf
|
||||||
|
rm -f ${D}${base_sbindir}/ldconfig
|
||||||
# This directory will be empty now so remove it too.
|
# This directory will be empty now so remove it too.
|
||||||
# But check whether it exists first, since it won't for glibc-initial.
|
# But check whether it exists first, since it won't for glibc-initial.
|
||||||
if [ -d ${D}${sysconfdir} ]; then
|
if [ -d ${D}${sysconfdir} ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user