meta-raspberrypi icon indicating copy to clipboard operation
meta-raspberrypi copied to clipboard

Can't find python3-adafruit-* recipies

Open frobones opened this issue 2 years ago • 1 comments

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.

frobones avatar Aug 05 '22 01:08 frobones

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).

agherzan avatar Aug 11 '22 12:08 agherzan