From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Cc: Jeremy Johnson <Jeremy.Johnson@arm.com>,
Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Subject: Re: INCOMPATIBLE_LICENSE mechanism
Date: Tue, 31 Jul 2018 12:01:09 +0100 [thread overview]
Message-ID: <3567631.rW7LACzLfS@localhost.localdomain> (raw)
In-Reply-To: <c8b63914e60f12cb57f569199f82390cbd069931.camel@linuxfoundation.org>
On Thursday, 26 July 2018 5:14:05 PM BST Richard Purdie wrote:
> On Thu, 2018-07-26 at 13:16 +0000, Peter Kjellerstedt wrote:
> > This is related to a similar problem we are seeing with the use of
> > “or” for licenses. We use the archiver.bbclass to export all open
> > source code we use. However, for recipes that specify multiple
> > licenses using “or”, we would like to specify the one under which we
> > are using the code. E.g., if the LICENSE is “GPL-2.0 | Proprietary”,
> > we would like to treat the code as “Proprietary”, but when it comes
> > to the archiver.bbclass, even if we have told it to ignore packages
> > with Proprietary licenses, it will include the package due to the
> > alternative GPL-2.0 license.
> >
> > The idea we have is to allow to specify a USED_LICENSE (e.g., in a
> > bbappend or a separate configuration file), which should take the
> > actually used license. This should be verified to be one of the
> > allowed licenses specified in LICENSE (in case LICENSE changes and no
> > longer allows the chosen license), and after that, LICENSE should be
> > treated as if this was the value it had been given. This does,
> > however, not take into account the use of the same package in
> > multiple images with different licensing requirements (we only build
> > one image so that is not a problem for us).
>
> Just thinking out loud you could have something like a
>
> gplv3-license-incompatible.inc:
>
> LICENSE_pn-<some-recipe> = "MIT"
> LICENSE_pn-<some--other-recipe> = "GPLv2"
> INCOMPATIBLE_LICENSE = "GPLv3"
That was my first thought, but the issue is that you won't get any warning in
future if the LICENSE value within the recipe changes to no longer provide the
option you've selected.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2018-07-31 11:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DB5PR08MB0888CF3B2340E729DD3B946193520@DB5PR08MB0888.eurprd08.prod.outlook.com>
2018-07-19 15:08 ` INCOMPATIBLE_LICENSE mechanism Jonathan Haigh
2018-07-26 13:16 ` Peter Kjellerstedt
2018-07-26 16:14 ` Richard Purdie
2018-07-26 20:12 ` Peter Kjellerstedt
2018-07-31 11:01 ` Paul Eggleton [this message]
2018-07-26 16:11 ` Richard Purdie
2018-07-30 16:42 ` Jonathan Haigh
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=3567631.rW7LACzLfS@localhost.localdomain \
--to=paul.eggleton@linux.intel.com \
--cc=Jeremy.Johnson@arm.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.com \
/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