Reputation: 421
I checked on the website below that the boost recipe is on the https://layers.openembedded.org/layerindex/branch/master/layer/meta-oe/ layer.
Where is the right layer to add the boost on the image? /build/conf/local.conf? Or should I extend a new layer to add the boost? I need the boost to compile the mongodb which is also located on the meta-oe layer.
My bblayers.conf:
BBLAYERS ?= " \
/home/joao/projetos/toradex/poky/meta \
/home/joao/projetos/toradex/poky/meta-yocto \
/home/joao/projetos/toradex/poky/meta-openembedded/meta-oe \
/home/joao/projetos/toradex/poky/meta-yocto-bsp \
/home/joao/projetos/toradex/poky/meta-fsl-arm \
/home/joao/projetos/toradex/poky/meta-fsl-arm-extra \
/home/joao/projetos/toradex/poky/meta-web-kiosk \
/home/joao/projetos/toradex/poky/meta-web-kiosk-custom \
"
My build/conf/local.conf:
IMAGE_INSTALL_append = " boost"
When I try to add the mongodb I get the error:
# bitbake core-image-web-kiosk
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'mongodb' (but /home/joao/projetos/toradex/poky/meta-web-kiosk/recipes-browser/images/core-image-web-kiosk.bb RDEPENDS on or otherwise requires it)
ERROR: mongodb was skipped: Recipe is blacklisted: Fails to build with system boost
NOTE: Runtime target 'mongodb' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mongodb']
ERROR: Required build target 'core-image-web-kiosk' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-web-kiosk', 'mongodb']
The boost is compiled, but the mongodb need the boost to compile itself. How can I solve this problem?
Best regards,
Upvotes: 3
Views: 1721
Reputation: 3913
bblayers.conf specifies the meta-data (the directories that store the recipes).
local.conf is where you do all the customization, what you want to do for the image for your machine.
So, put IMAGE_INSTALL_append = " boost"
to local.conf. Note that there is no +=
.
Upvotes: 4