Hi Alex and Michael

Thank you very much, that worked for core-image-minimal and core-image-weston, 
with kirkstone-4.0.4

For core-image-weston, copying the "Settings for weston" from 
incompatible_lic.py#n149 ( 
https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/incompatible_lic.py#n149
 ) works.
And core-image-minimal works automatically with just 
INCOMPATIBLE_LICENSE:pn-core-image-minimal = "GPL-3.0* LGPL-3.0* AGPL-3.0*"

Whereas, the global ban produced errors e.g.:
INCOMPATIBLE_LICENSE = "GPL-3.0* LGPL-3.0* AGPL-3.0*"
...
ERROR: Nothing RPROVIDES 'bash' (but 
/workdir/poky/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.5.0.bb, 
/workdir/poky/poky/meta/recipes-devtools/python/python3_3.10.4.bb RDEPENDS on 
or otherwise requires it)
Missing or unbuildable dependency chain was: ['core-image-minimal', 
'packagegroup-core-boot', 'update-alternatives-opkg', 'bash']

However, the documentation recommends the global ban and does not mention the 
per-image variant?
https://docs.yoctoproject.org/ref-manual/images.html
https://docs.yoctoproject.org/ref-manual/variables.html#term-INCOMPATIBLE_LICENSE

Out of curiosity, why does the per image variant work, but not the global ban?
And how should one know to use the pn- prefix? i.e.
this: INCOMPATIBLE_LICENSE:pn-core-image-minimal
not this: INCOMPATIBLE_LICENSE:core-image-minimal?

Thank you
-- Peter
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58397): https://lists.yoctoproject.org/g/yocto/message/58397
Mute This Topic: https://lists.yoctoproject.org/mt/94157267/21656
Mute #gplv3:https://lists.yoctoproject.org/g/yocto/mutehashtag/gplv3
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to