Skip to contentSkip to conversation

linux-yocto: add and use GPL-2.0-with-syscall-note license

PATCH Denis OSTERLAND-HEIM 1 participant 1 message Dec 4, 2024

lore
Share & tools
lore
#0 lore raw

Hi,

Currently I wonder if common-licenses is the right place for Linux-syscall-note, because this is a Linux specific licenses.

I agree with Ross that SPDX syntax for the LICENSE field would be the best.

First step:

LICENSE = "GPL-2.0-only & Linux-syscall-note" NO_GENERIC_LICENSE[Linux-syscall-note] = "file://LICENSES/exceptions/Linux-syscall-note"

And with SPDX syntax:

LICENSE = "GPL-2.0-only WITH Linux-syscall-note"

Maybe in the future we can even use https://github.com/spdx/license-list-data
instead of maintaining common-licenses on our own.

Regards, Denis

-----Original Message-----
From: Rasmus Villemoes <[email protected]>
Sent: Tuesday, December 3, 2024 2:18 PM
To: Denis OSTERLAND-HEIM <[email protected]>
Cc: [email protected]
Subject: [EXT] Re: [OE-core] [PATCH v2] linux-yocto: add and use GPL-2.0-with-syscall-note license

Quoted 8 lines

So since you're combining thbe GPL text and the syscall-note text, why not take an exact copy of the COPYING file as it existed in the kernel tree before the current split. That would also make word "below" actually make sense. I.e.,

git show b3358a116:COPYING

Rasmus

-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Tuesday, December 3, 2024 6:38 PM
To: Denis OSTERLAND-HEIM <[email protected]>
Cc: [email protected]
Subject: [EXT] Re: [OE-core] [PATCH v2] linux-yocto: add and use GPL-2.0-with-syscall-note license

Quoted 10 lines

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/LICENSES/exceptions/Linux-syscall-note
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/LICENSES/preferred/GPL-2.0

I know we have combined the exceptions and create individual files but I wonder if there is a better way to
express it with combinations of files. eg. see meta/files/common-licenses/GPL-3.0-with-GCC-exception
at the top it says "insert GPL v3 text here" seems a bit iffy. Instead it could be expressed with two files having
full license texts.