licenses: add GPL-2.0-with-Linux-syscall-note
PATCH 1/1 licenses: add GPL-2.0-with-Linux-syscall-note
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
--- .../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
(quoted diff) +0 -0
b/meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note new file mode 100644
index 0000000000..7fc191baf1
meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note new file +15 -0
@@ -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 +
(quoted diff) +0 -0
b/meta/recipes-kernel/linux/linux-yocto.inc
index 0132fcffb3..1765974666 100644
meta/recipes-kernel/linux/linux-yocto.inc +1 -1
@@ -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
This is a patch for openembedded-core, and should go to the [email protected].
Alex
Quoted 76 lines · Denis OSTERLAND-HEIM via lists.yoctoproject.org
According to Linux copying notice[^1] the SPDX copyright should be
GPL-2.0 WITH Linux-syscall-note.
AFAIK there is noWITHoperator 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.htmlSigned-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 100644meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note
meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note new file +15
-0@@ -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 +meta/recipes-kernel/linux/linux-yocto.inc +1
-2@@ -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]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 21 lines · Denis OSTERLAND-HEIM via lists.yoctoproject.org
According to Linux copying notice[^1] the SPDX copyright should be
GPL-2.0 WITH Linux-syscall-note.
AFAIK there is noWITHoperator 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
Quoted 7 lines
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
As Alex mentioned, this is the wrong list for this patch. There is also a bigger issue in that your change removes the main GPLv2 license text from the kernel license field. I'm not sure we can do that as is becomes a fairly serious oversight.
I think we probably need to add dedicated WITH support to our license code to resolve this.
Cheers,
Richard