Re: [poky] [PATCH] licenses: add GPL-2.0-with-Linux-syscall-note

Alexander Kanavin <[email protected]>
Newsgroups org.yoctoproject.lists.poky
Message-ID <CANNYZj_FCBE1CCX_=eQDRf-FmbCyFvGyvGSOFBxN+3mxnT+tDg@mail.gmail.com>
This is a patch for openembedded-core, and should go to the
[email protected].

Alex

On Fri, 22 Nov 2024 at 10:29, Denis OSTERLAND-HEIM via
lists.yoctoproject.org
<[email protected]> wrote:
>
> According to Linux copying notice[^1] the SPDX copyright should be
> `GPL-2.0 WITH Linux-syscall-note`.
> AFAIK there is no `WITH` operator in yocto yet, so I created
> GPL-2.0-with-Linux-syscall-note based on SPDX[^2] and Linux[^3].
> spdx.org/licenses does not list this license, because of the prefered use of
> WITH operator.
> For example GPL-2.0-with-autoconf-exception[^4] is now marked deprecated.
>
> It would be good to have something like `LICENSE = "GPL2.0-only +
> Linux-syscall-note"`
> in the future.
>
> [^1]:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/COPY
> ING
> [^2]: https://spdx.org/licenses/Linux-syscall-note.html
> [^3]:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/LICE
> NSES/exceptions/Linux-syscall-note
> [^4]: https://spdx.org/licenses/GPL-2.0-with-autoconf-exception.html
>
> Signed-off-by: Denis Osterland-Heim <[email protected]>
> ---
>  .../GPL-2.0-with-Linux-syscall-note               | 15 +++++++++++++++
>  meta/recipes-kernel/linux/linux-yocto.inc         |  2 +-
>  2 files changed, 16 insertions(+), 1 deletion(-)
>  create mode 100644
> meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note
>
> diff --git a/meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note
> b/meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note
> new file mode 100644
> index 0000000000..7fc191baf1
> --- /dev/null
> +++ b/meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note
> @@ -0,0 +1,15 @@
> +insert GPL v2 text here
> +
> +   NOTE! This copyright does *not* cover user programs that use kernel
> + services by normal system calls - this is merely considered normal use
> + of the kernel, and does *not* fall under the heading of "derived work".
> + Also note that the GPL below is copyrighted by the Free Software
> + Foundation, but the instance of code that it refers to (the Linux
> + kernel) is copyrighted by me and others who actually wrote it.
> +
> + Also note that the only valid version of the GPL as far as the kernel
> + is concerned is _this_ particular version of the license (ie v2, not
> + v2.2 or v3.x or whatever), unless explicitly otherwise stated.
> +
> +                       Linus Torvalds
> +
> diff --git a/meta/recipes-kernel/linux/linux-yocto.inc
> b/meta/recipes-kernel/linux/linux-yocto.inc
> index 0132fcffb3..1765974666 100644
> --- a/meta/recipes-kernel/linux/linux-yocto.inc
> +++ b/meta/recipes-kernel/linux/linux-yocto.inc
> @@ -1,6 +1,6 @@
>  SUMMARY = "Linux kernel"
>  SECTION = "kernel"
> -LICENSE = "GPL-2.0-only"
> +LICENSE = "GPL-2.0-with-Linux-syscall-note"
>  HOMEPAGE = "https://www.yoctoproject.org/"
>
>  LIC_FILES_CHKSUM ?= "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> --
> 2.45.2
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#13491): https://lists.yoctoproject.org/g/poky/message/13491
> Mute This Topic: https://lists.yoctoproject.org/mt/109719806/1686489
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.