Discussion:
[yocto] Files/directories were installed but not shipped
Cai, Juliet Z
2015-05-19 19:31:09 UTC
Permalink
I am getting "ERROR: QA Issue: Files/directories were installed but not shipped" when I try to build my custom layer. It then list bunch of directories and files under

/usr/src
/usr/src/debug
...

My do_install looks something like this
do_install () {
Install -d ${D}${libdir}
Install -c -m 555 {S}/path-to-files/libmy.so
}

Nowhere in my do_install function did I try to install files to /usr/src. Where does this come from? And how can I get rid of it?

Thanks in advance
Burton, Ross
2015-05-19 19:40:22 UTC
Permalink
I am getting “ERROR: QA Issue: Files/directories were installed but not
shipped” when I try to build my custom layer. It then list bunch of
directories and files under
/usr/src
/usr/src/debug


My do_install looks something like this
do_install () {
Install –d ${D}${libdir}
Install –c –m 555 {S}/path-to-files/libmy.so
}
Nowhere in my do_install function did I try to install files to /usr/src.
Where does this come from? And how can I get rid of it?
That's the debug source/symbols splitting happening. That directory is
usually packaged into FILES_${PN}-debug (see meta/conf/bitbake.conf), so
you must be overriding either that value, or PACKAGES so as to not have a
PN-debug package.

Ross

Continue reading on narkive:
Loading...