Getting ready

To discover whether a package we require is included in our configured layers, and what specific versions are supported, we can use bitbake-layers from our build directory as we saw previously:

$ bitbake-layers show-recipes htop
htop:
 meta-oe              1.0.3 

Alternatively, we can also use BitBake as follows:

$ bitbake -s | grep htop
htop                                                :1.0.3-r0  

Or we can use the find Linux command in our sources directory:

$ find /opt/yocto/fsl-community-bsp/sources -type f -name "htop*.bb"
/opt/yocto/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-support/htop/htop_1.0.3.bb  

Once we know what packages we want to include in our final images, let's see how we can add them to the image.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset