[oe] [PATCH] glibc: fix hardcoded /sbin/ldconfig path

Phil Blundell pb at reciva.com
Tue Aug 18 10:39:25 UTC 2009


On Tue, 2009-08-18 at 12:33 +0200, Stanislav Brabec wrote:
> Michael Smith wrote:
> 
> > -FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${datadir}/zoneinfo ${@base_conditional('USE_LDCONFIG', '1', '/sbin/ldconfig', '', d)}"
> > +FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${datadir}/zoneinfo ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}"
> 
> Did you test this change carefully? I seen this as well and tried
> ${@base_conditional('USE_LDCONFIG', '1', '${sbindir}/ldconfig', '', d)}
> 
> I don't know why, but it didn't work for me. If ${base_sbindir} works,
> then I agree with your fix.

${sbindir} expands to ${prefix}/sbin, i.e. /usr/sbin in most cases.
That isn't where ldconfig is generally installed so it is probably to be
expected that it didn't do the right thing.

p.






More information about the Openembedded-devel mailing list