On Tue, Oct 21, 2014 at 10:28 PM, jags gediya <jags.ged...@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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to