0
votes

I'm using bitbake to compile rygel for yocto from the meta-openembedded layer, with the plugins mpris and gst-launch.

As per the PACKAGECONFIG docs, I created a bbappend file and added the following:

EXTRA_OECONF = "--disable-introspection \
                --disable-tracker-plugin \
                --with-media-engine=gstreamer \
                --enable-mpris-plugin \
                --enable-gst-launch-plugin"

PR = "r1"

It compiles and installs, but has no plugins.

The append shows up when I run bitbake-layers show-appends, so at least bitbake is finding it. After running bitbake the directory tmp/work/core2-64-poky-linux/rygel/0.26.1-r1/image/usr/lib/rygel-2.6/plugins/ is populated. Then when I run the image /usr/lib/rygel-2.6/ contains an engines dir and nothing else.

Any idea where I'm going wrong?

3
did you tried += after the oeconf - yoctotutor.com

3 Answers

0
votes

I don't think your read all the way down to "If you want to change an existing PACKAGECONFIG block, you can do so one of two ways:".

From a bbappend, just do

PACKAGECONFIG_append = " mpris gst-launch"

0
votes

In the recipe do_install, they remove some of the engines and plugins files. This might be the reason you do not see them in your image.

do_install_append() {
       # Remove .la files for loadable modules
       rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la
       rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la
}
0
votes

your compiling plugins successfully and not able to see in board(rootfs)? if yes please add below line in your .bbappend file. '

FILES_${PN} += "${libdir}/*"
this will add all your compiled plugins to your rootfs image.