Using the poky-tiny distribution and imx6qsabresd with the community BSP (2.1),
I run into the following issue:
ERROR: Nothing RPROVIDES 'tiny-init' (but
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'tiny-init' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['tiny-init']
NOTE: Runtime target 'packagegroup-core-boot' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-boot',
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal',
Going through the code, to me it seems the issue is related to the
POKY_BBLAYERS_CONF_VERSION variable that is automatically updated in
bblayers.conf. This might even be an upstream issue but I'm struggling to
understand why poky-sanity class does not properly set it. Here are the steps
repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b krogoth
DISTRO=poky-tiny source setup-environment build
# edit sources/poky/meta-poky/conf/distro/poky-tiny.conf and make the following
-PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
-PREFERRED_VERSION_linux-yocto-tiny ?= "4.4%"
+PREFERRED_PROVIDER_virtual/kernel = "linux-fslc-imx"
After running bitbake, my bblayers.conf is updated with the following line:
POKY_BBLAYERS_CONF_VERSION = "1"
However, the poky layer (poky/meta-poky/conf/layer.conf) requires the version
to be "2". It looks like this automatic change is performed by
poky/meta/classes/sanity.bbclass but since I'm using poky-tiny, which requires
poky.conf, which INHERITs poky-sanity class, the variable should be set to "2"
by the poky_update_bblayersconf function. This does not seem to happen and I
cannot figure out why. Any thoughts?
meta-freescale mailing list