I'm new to Yocto and Bitbake. I'm running my yocto machine through a qemu emulator on Ubuntu and attempting to use the meta-selftest
layer to get a sense of how to install new layers. I have downloaded the meta-selftest
files into the directory where the rest of the meta-
directories are, and added the path to the meta-selftest
directory to the bblayers.conf
file. Running bitbake-layers show-layers
command gives the output
layer path priority
==========================================================================
meta /home/[my name]/Documents/poky/meta 5
meta-poky /home/[my name]/Documents/poky/meta-poky 5
meta-yocto-bsp /home/[my name]/Documents/poky/meta-yocto-bsp 5
meta-selftest /home/[my name]/Documents/poky/meta-selftest 5
however, when I try to run bitbake meta-selftest
I get the error:
Loading cache: 100%
Loaded 1294 entries from dependency cache.
ERROR: Nothing PROVIDES 'meta-selftest'
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
What does this error mean? I checked meta-selftest
's dependencies, and it doesn't have any, so I get the sense this error isn't saying there is a dependency issue, but I can't find any clear documentation on what this error is telling me. I get the vague sense it means that bitbake can't find meta-selftest
, but show-layers
contradicts that by listing it with the correct path.
Any help would be deeply appreciated.
-Patches
bblayers.conf
should allow thebitbake
command to build that package into the image. Reading further makes it seem like themeta/recipes-sato/images/core-image-sato.bb
should be duplicated and edited to include packages (in my case addingIMAGE_INSTALL += "meta-selftest"
), however attempting to build this image leads to failure due to theNothing PROVIDES
error again. When I try runningbitbake
on my actual package,swupdate_2017.11
, I get the same err. – Ohalloran