[yocto] /etc directory path in yocto

jags gediya jags.gediya at gmail.com
Tue Oct 21 22:28:24 PDT 2014


Hi All,

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?



More information about the yocto mailing list