In cases where you received the error "Error: the example was not found in the base feeds [...]", it is likely that you really managed to create the recipe example.bb. Assuming, of course, that you get this error when creating your image that has IMAGE_INSTALL += "example" .
If you install your files in /rootfolder , there is nothing in OE who knows how to pack these files into rpm , ipk or deb package. You should add this to your recipe by adding a line, for example: FILES_${PN} += "/rootfolder" By doing this, your example above should work.
Depending on what files you are installing, you may add some of them to other packages, such as ${PN}-dbg , ${PN}-dev , etc.
source share