[yocto] [meta-freescale] /etc directory path in yocto

Christopher Larson clarson at kergoth.com
Tue Oct 21 22:43:00 PDT 2014


On Tue, Oct 21, 2014 at 10:28 PM, jags gediya <jags.gediya at gmail.com> wrote:

> I am compiling the custom recipie and i am getting the error in
> do_install function.
>
> Below is the do_install function
>
> do_install() {
>         oe_runmake install DESTDIR=${D} SBINDIR=${sbindir}
> MANDIR=${mandir} \
>                                       INCLUDEDIR=${includedir}
> }
>
> Error:
>  saving cache in little endian encoding
> ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission
> denied
>
> Looking like, it is trying to create that file in host system's /etc
> directory. How can I avoid it and do_install function can use /etc
> directory of rootfs?
>

Read the makefiles of the project you're building. Specifically, modify
them to stop running ldconfig.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141021/f2419834/attachment.html>


More information about the yocto mailing list