Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Peter" <poberauer@yahoo.co.uk>
To: yocto@lists.yoctoproject.org
Subject: Re: other ways of removing GPLv3 components (than meta-gplv2) #gplv3
Date: Mon, 24 Oct 2022 04:58:13 -0700	[thread overview]
Message-ID: <850.1666612693829888716@lists.yoctoproject.org> (raw)
In-Reply-To: <CANNYZj9ar+z=m-G-76bi0icLac1wLfHw++9zpWaMC=3n1uz=Ag@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1766 bytes --]

  reply	other threads:[~2022-10-24 11:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06 13:27 other ways of removing GPLv3 components (than meta-gplv2) #GPLv3 Peter
2022-10-06 13:46 ` [yocto] " Alexander Kanavin
2022-10-06 16:36   ` Michael Opdenacker
2022-10-07  9:28     ` other ways of removing GPLv3 components (than meta-gplv2) #gplv3 Peter
2022-10-07  9:34       ` [yocto] " Alexander Kanavin
     [not found]       ` <171BBFBB3D98A617.12674@lists.yoctoproject.org>
2022-10-07  9:51         ` Alexander Kanavin
2022-10-24 11:58           ` Peter [this message]
2022-10-24 12:27             ` Alexander Kanavin
2022-10-24 13:07               ` Michael Opdenacker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=850.1666612693829888716@lists.yoctoproject.org \
    --to=poberauer@yahoo.co.uk \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox