On Mon, 24 Oct 2022 at 13:58, Peter via lists.yoctoproject.org <[email protected]> wrote: > 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
Yes, someone should go over the documentation and change every mention of this to recommend per-image variant, as a global one is basically impossible to use without pulling in meta-gpl2. Patches welcome :) > Out of curiosity, why does the per image variant work, but not the global ban? Global ban works at the task dependency creation stage, and if bash needs to be built, it will throw an error, even if the actual bash binary will not end up in the image, and is only used as a runtime dependency for a package that won't be installed. Per-image ban performs a 'late' check when the image is actually put together. You should now know everything to fix the docs ;-) > 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? pn- means 'applies only to this recipe'. The package vs recipe terminology is confusing here for historical reasons. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58399): https://lists.yoctoproject.org/g/yocto/message/58399 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]] -=-=-=-=-=-=-=-=-=-=-=-
