[bitbake-devel] Library not getting installed to intended path

Yogesh Tyagi yogesh.bit2006 at gmail.com
Wed Jun 3 15:37:16 UTC 2015


Hi,

I have added these two lines to my Makefile.am:

AC_PREFIX_DEFAULT(/usr/lib/gstreamer-0.10)
libdir='/usr/lib/gstreamer-0.10'

and following lines to bb file:

FILES_${PN} += "${libdir}/gstreamer-0.10/"
FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"


do_install() {
  install -D -m 0755 ${S}/*.so* ${D}/{libdir}/gstreamer-0.10/
}

when rootfs is created I am getting QA warning:

WARNING: QA Issue: fsmd-gst-plugin-linux-user: Files/directories were
installed but not shipped
  /usr/lib
  /usr/lib/gstreamer-0.10
  /usr/lib/gstreamer-0.10/libgstflt.so

and libs are not going to rootfs.

Thanks,
Yogesh

On Wed, Jun 3, 2015 at 7:16 PM, Burton, Ross <ross.burton at intel.com> wrote:

>
> On 3 June 2015 at 13:16, Yogesh Tyagi <yogesh.bit2006 at gmail.com> wrote:
>
>> I am using yocto 1.6 and I have written a component and written bitbake
>> recipe file for this component. When rootfs is created my library is found
>> in "/lib" directory but I want it to be installed to
>> "/usr/lib/gstreamer-0.10" directory (which is already created by open
>> source gstreamer packages).
>
>
> This is under the control of your makefiles, so you'll need to share
> those.  My guess is that you're using a variable name in the makefile that
> has a defined meaning in automake so your assignment gets overridden.
>
> (also, this isn't anything to do with development of bitbake, so this
> discussion should be on yocto@)
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20150603/459a0ff0/attachment-0002.html>


More information about the bitbake-devel mailing list