From: Michael Opdenacker <michael.opdenacker@bootlin.com>
To: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Cc: docs@lists.yoctoproject.org,
Alexander Kanavin <alex@linutronix.de>,
Alexander Kanavin <alex.kanavin@gmail.com>
Subject: Re: [docs] [PATCH] ref-manual: document image-specific variant of INCOMPATIBLE_LICENSE
Date: Mon, 31 Jul 2023 11:33:58 +0200 [thread overview]
Message-ID: <e09dcd0c-cb28-91a7-8e8a-0796b2c4e0ec@bootlin.com> (raw)
In-Reply-To: <CANNYZj_vV3pwbPhN3geFdBuBLKM+X1jFAt4nHdyzqNyTZatDZA@mail.gmail.com>
On 31.07.23 at 11:21, Alexander Kanavin wrote:
> That's right. Needs to be fixed. Michael, can you squash the fixup in
> master-next please?
>
> Alex
>
> On Mon, 31 Jul 2023 at 11:11, Quentin Schulz
> <quentin.schulz@theobroma-systems.com> wrote:
>> Hi Alex,
>>
>> On 7/28/23 18:50, Alexander Kanavin via lists.yoctoproject.org wrote:
>>> This has been around without being properly documented since 2019 (!!!),
>>> and is nowadays the preferred method for enforcing license restrictions,
>>> especially since meta-gplv2 is officially obsolete.
>>>
>>> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
>>> ---
>>> documentation/ref-manual/images.rst | 16 +++++++++-------
>>> documentation/ref-manual/variables.rst | 13 +++++++++++--
>>> 2 files changed, 20 insertions(+), 9 deletions(-)
>>>
>>> diff --git a/documentation/ref-manual/images.rst b/documentation/ref-manual/images.rst
>>> index d3aeb0829..19c31e0fc 100644
>>> --- a/documentation/ref-manual/images.rst
>>> +++ b/documentation/ref-manual/images.rst
>>> @@ -14,15 +14,17 @@ image you want.
>>> Building an image without GNU General Public License Version 3
>>> (GPLv3), GNU Lesser General Public License Version 3 (LGPLv3), and
>>> the GNU Affero General Public License Version 3 (AGPL-3.0) components
>>> - is only supported for minimal and base images. Furthermore, if you
>>> - are going to build an image using non-GPLv3 and similarly licensed
>>> - components, you must make the following changes in the ``local.conf``
>>> - file before using the BitBake command to build the minimal or base
>>> - image:
>>> + is only tested for core-image-minimal image. Furthermore, if you would like to
>>> + build an image and verify that it does not include GPLv3 and similarly licensed
>>> + components, you must make the following changes in the image recipe
>>> + file before using the BitBake command to build the image:
>>>
>>> - #. Comment out the :term:`EXTRA_IMAGE_FEATURES` line
>>> + INCOMPATIBLE_LICENSE = "GPL-3.0* LGPL-3.0*"
>>>
>>> - #. Set :term:`INCOMPATIBLE_LICENSE` to "GPL-3.0* LGPL-3.0* AGPL-3.0*"
>>> + Alternatively, you can adjust ``local.conf`` file, repeating and adjusting the line
>>> + for all images where the license restriction must apply:
>>> +
>>> + INCOMPATIBLE_LICENSE:pn:your-image-name = "GPL-3.0* LGPL-3.0*"
>>>
>> I believe there's a typo here in the override and we should read:
>>
>> INCOMPATIBLE_LICENSE:pn-your-image-name = "GPL-3.0* LGPL-3.0*"
>>
>> (note the `:` transformed into `-`).
>>
>> Is this a correct assumption?
Sure, done.
Thanks Quentin for the review!
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2023-07-31 9:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-28 16:50 [PATCH] ref-manual: document image-specific variant of INCOMPATIBLE_LICENSE Alexander Kanavin
2023-07-28 17:49 ` [docs] " Michael Opdenacker
2023-07-31 9:11 ` Quentin Schulz
2023-07-31 9:21 ` Alexander Kanavin
2023-07-31 9:33 ` Michael Opdenacker [this message]
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=e09dcd0c-cb28-91a7-8e8a-0796b2c4e0ec@bootlin.com \
--to=michael.opdenacker@bootlin.com \
--cc=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=docs@lists.yoctoproject.org \
--cc=quentin.schulz@theobroma-systems.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