[yocto] boost & qt-mobility-x11 added to core-image-sato

Paul Eggleton paul.eggleton at linux.intel.com
Wed Apr 3 07:51:11 PDT 2013


Hi Edward,

On Wednesday 03 April 2013 08:01:55 Edward Vidal wrote:
> I have been using the bitbake core-image-sato with
> 
> EXTRA_IMAGE_FEATURES = "debug-tweaks tools-sdk" which adds the sdk to the
> image.
> 
> I since have done bitbake boost (added about 14 RPMs) and bitbake
> qt-mobility-x11 (81 RPMs).
> 
> After creating the boost libs I installed the 14 RPMs on the target
> with the script
> rpm -Uh  \
> boost-1.53.0-r1.armv7a_vfp_neon.rpm \
> boost-dbg-1.53.0-r1.armv7a_vfp_neon.rpm \
> boost-dev-1.53.0-r1.armv7a_vfp_neon.rpm \
> boost-staticdev-1.53.0-r1.armv7a_vfp_neon.rpm \
> boost-test-1.53.0-r1.armv7a_vfp_neon.rpm \
> libboost-date-time1.53.0-1.53.0-r1.armv7a_vfp_neon.rpm \
> libboost-filesystem1.53.0-1.53.0-r1.armv7a_vfp_neon.rpm \
> libboost-graph1.53.0-1.53.0-r1.armv7a_vfp_neon.rpm \
> libboost-iostreams1.53.0-1.53.0-r1.armv7a_vfp_neon.rpm \
> libboost-program-options1.53.0-1.53.0-r1.armv7a_vfp_neon.rpm \
> libboost-regex1.53.0-1.53.0-r1.armv7a_vfp_neon.rpm \
> libboost-signals1.53.0-1.53.0-r1.armv7a_vfp_neon.rpm \
> libboost-system1.53.0-1.53.0-r1.armv7a_vfp_neon.rpm \
> libboost-thread1.53.0-1.53.0-r1.armv7a_vfp_neon.rpm
> 
> The qt-mobility-x11 RPMs were installed with rpm -Uh *.rpm.
> The difficult part was determining what are the needed dependencies.  This
> was done by running the rpm -Uh --test *.rpm many times and adding
> additional RPMs to set of RPMs.
> 
> What is the correct procedure to add bitbake results to the target?
> How does one know what packages are included in the image? What should be
> the order first bitbake boost, bitbake qt-mobility, and then bitbake
> core-image-sato?  This order did not work I still needed to install the new
> RPMs after the target was running.

Just building something doesn't mean it will be added to an image. Each image
has a set list of things that will be installed into it (IMAGE_INSTALL).
This will also automatically take care of adding dependencies.

Please see here for information on how to customise the contents of images:

http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list