Hi,

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 
/home/koney/tmp/fsl-community-bsp/sources/poky/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
 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', 
'tiny-init']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 
'packagegroup-core-boot', 'tiny-init']

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 
to reproduce:

repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b krogoth
repo sync
DISTRO=poky-tiny source setup-environment build

# edit sources/poky/meta-poky/conf/distro/poky-tiny.conf and make the following 
change:
-PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
-PREFERRED_VERSION_linux-yocto-tiny ?= "4.4%"
+PREFERRED_PROVIDER_virtual/kernel = "linux-fslc-imx"

bitbake core-image-minimal

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?

Thanks!
Kursad Oney
-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to