Skip to contentSkip to conversation

linux-yocto: add WITH Linux-syscall-note to LICENSE

PATCH In review Denis OSTERLAND-HEIM 2 participants 2 messages Nov 25, 2024

lore
Share & tools
lore
#0 lore raw

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

According to Linux COPYING file this exception is made to GPL v2.

---
 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
(quoted diff) +0 -0

b/meta/files/common-licenses/Linux-syscall-note
new file mode 100644
index 0000000000..9abdad71fa

meta/files/common-licenses/Linux-syscall-note new file +3 -0
@@ -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
+

(quoted diff) +0 -0

b/meta/recipes-kernel/linux/linux-yocto.inc
index 0132fcffb3..3de8318c39 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-only + Linux-syscall-note"
 HOMEPAGE = "https://www.yoctoproject.org/"
 
 LIC_FILES_CHKSUM ?= "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

--
2.45.2

#1 lore raw

Thanks, the patchset is fine, but I wonder if there are other recipes in oe-core which would benefit from WITH suppport?

Alex

Quoted 67 lines · Denis OSTERLAND-HEIM via lists.openembedded.org

According to Linux COPYING file this exception is made to GPL v2.

---
 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
meta/files/common-licenses/Linux-syscall-note new file +3 -0
new file mode 100644
index 0000000000..9abdad71fa
@@ -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

meta/files/common-licenses/Linux-syscall-note new file +22 -0
+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
+
meta/recipes-kernel/linux/linux-yocto.inc +1 -2
index 0132fcffb3..3de8318c39 100644
@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-