agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
528 stars 407 forks source link

Can't find python3-adafruit-* recipies #1078

Open frobones opened 2 years ago

frobones commented 2 years ago

Description The conf file BBFILES_DYNAMIC variable needs multiple entries for dynamic-layers/openembedded-layer. This directory has a level 1 and level 2 depth to it in its directory structure, as seen here: https://github.com/agherzan/meta-raspberrypi/tree/master/dynamic-layers/openembedded-layer. All the other directories in dynamic-layers only have level 2 depth in it directory structure, as seen here: https://github.com/agherzan/meta-raspberrypi/tree/master/dynamic-layers

Steps to reproduce the issue:

  1. Add python3-adafruit-blinka recipe via IMAGE_INSTALL:append
  2. Attempt to run a bitbake core-image-full-cmdline

Describe the results you received: Can't find recipe python3-adafruit-blinka

Describe the results you expected: Recipe python3-adafruit-blinka is found.

Additional information you deem important (e.g. issue happens only occasionally): Simply add another set of wildcards to the BBFILES_DYNAMIC variable:

openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*.bb \
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*.bbappend \

Additional details (revisions used, host distro, etc.): Kirkstone.

agherzan commented 2 years ago

Checking the code there it looks like it needs a bit of love. I'll assign it to me. If you have a PR in the meanwhile, feel free to raise it against master (we can backport to kirkstone afterwards).