Search code examples
yoctobitbake

What is RPROVIDES for uhttpd in core-image-sato?


I am trying to include uhttpd package in poky, I included uhttpd package in poky. meta-openembedded/meta-webserver/recipes-httpd/uhttpd this is where I have added but I am facing the following error.Please help me to solve this issue.

ERROR: Nothing RPROVIDES 'uhttpd' (but /home/aa/poky/meta/recipes-sato/images/core-image-sato.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'uhttpd' is unbuildable, removing... Missing or unbuildable dependency chain was: ['uhttpd']

ERROR: Required build target 'core-image-sato' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-sato', 'uhttpd']


Solution

  • Yocto has layers which provide additional packages so its always good to search it on layerindex

    http://layers.openembedded.org/layerindex/branch/master/recipes/

    Enter the regexp for recipe you are looking for 'uhttp'

    This will show you which layer provides the recipe

    then clone the layer containing the recipe

    cd poky
    git clone git://github.com/kraj/meta-openwrt
    
    cd poky/build
    bitbake-layers add-layer ../meta-openwrt
    

    then retry to build. Now its possible that you will run into further errors but this on should be taken care of.