Re: [poky] [PATCH] licenses: add GPL-2.0-with-Linux-syscall-note
Richard Purdie <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <ee234eecb6b9a633b57148e425fe969480da71fd.camel@linuxfoundation.org> |
On Fri, 2024-11-22 at 10:28 +0100, Denis OSTERLAND-HEIM via lists.yoctoproject.org 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 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