diff mbox series

[3/3] linux-yocto: add WITH Linux-syscall-note to LICENSE

Message ID 2719f782df504dd4bfd191575ee52d01@diehl.com
State New
Headers show
Series add basic SPDX WITH operator support | expand

Commit Message

Denis OSTERLAND-HEIM Nov. 25, 2024, 11:57 a.m. UTC
According to Linux COPYING file this exception is made to GPL v2.

Signed-off-by: Denis Osterland-Heim <denis.osterland@diehl.com>
---
 meta/files/common-licenses/Linux-syscall-note | 25 +++++++++++++++++++
 meta/recipes-kernel/linux/linux-yocto.inc     |  2 +-
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 meta/files/common-licenses/Linux-syscall-note

--
2.45.2

Comments

Alexander Kanavin Nov. 25, 2024, 11:59 a.m. UTC | #1
Thanks, the patchset is fine, but I wonder if there are other recipes
in oe-core which would benefit from WITH suppport?

Alex

On Mon, 25 Nov 2024 at 12:58, Denis OSTERLAND-HEIM via
lists.openembedded.org
<denis.osterland=diehl.com@lists.openembedded.org> wrote:
>
> According to Linux COPYING file this exception is made to GPL v2.
>
> Signed-off-by: Denis Osterland-Heim <denis.osterland@diehl.com>
> ---
>  meta/files/common-licenses/Linux-syscall-note | 25 +++++++++++++++++++
>  meta/recipes-kernel/linux/linux-yocto.inc     |  2 +-
>  2 files changed, 26 insertions(+), 1 deletion(-)
>  create mode 100644 meta/files/common-licenses/Linux-syscall-note
>
> diff --git a/meta/files/common-licenses/Linux-syscall-note
> b/meta/files/common-licenses/Linux-syscall-note
> new file mode 100644
> index 0000000000..9abdad71fa
> --- /dev/null
> +++ b/meta/files/common-licenses/Linux-syscall-note
> @@ -0,0 +1,25 @@
> +SPDX-Exception-Identifier: Linux-syscall-note
> +SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
> +SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1,
> LGPL-2.1+, GPL-2.0-only, GPL-2.0-or-later
> +Usage-Guide:
> +  This exception is used together with one of the above SPDX-Licenses
> +  to mark user space API (uapi) header files so they can be included
> +  into non GPL compliant user space application code.
> +  To use this exception add it with the keyword WITH to one of the
> +  identifiers in the SPDX-Licenses tag:
> +    SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
> +License-Text:
> +
> +   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..3de8318c39 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-only + 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 (#207746): https://lists.openembedded.org/g/openembedded-core/message/207746
> Mute This Topic: https://lists.openembedded.org/mt/109769586/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/files/common-licenses/Linux-syscall-note
b/meta/files/common-licenses/Linux-syscall-note
new file mode 100644
index 0000000000..9abdad71fa
--- /dev/null
+++ b/meta/files/common-licenses/Linux-syscall-note
@@ -0,0 +1,25 @@ 
+SPDX-Exception-Identifier: Linux-syscall-note
+SPDX-URL: https://spdx.org/licenses/Linux-syscall-note.html
+SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-1.0+, LGPL-2.0, LGPL-2.0+, LGPL-2.1,
LGPL-2.1+, GPL-2.0-only, GPL-2.0-or-later
+Usage-Guide:
+  This exception is used together with one of the above SPDX-Licenses
+  to mark user space API (uapi) header files so they can be included
+  into non GPL compliant user space application code.
+  To use this exception add it with the keyword WITH to one of the
+  identifiers in the SPDX-Licenses tag:
+    SPDX-License-Identifier: <SPDX-License> WITH Linux-syscall-note
+License-Text:
+
+   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..3de8318c39 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-only + Linux-syscall-note"
 HOMEPAGE = "https://www.yoctoproject.org/"

 LIC_FILES_CHKSUM ?= "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"