diff mbox series

lttng-tools: Avoid the CC-BY-SA-4.0 license for code packages

Message ID 20260901135152.1182514-1-pkj@axis.com
State Under Review
Headers show
Series lttng-tools: Avoid the CC-BY-SA-4.0 license for code packages | expand

Commit Message

Peter Kjellerstedt Sept. 1, 2026, 1:51 p.m. UTC
It only affects documentation files, so remove it from all other
packages.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 meta/recipes-kernel/lttng/lttng-tools_2.16.0.bb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.16.0.bb b/meta/recipes-kernel/lttng/lttng-tools_2.16.0.bb
index 8e2f890e55..cfc16ed6c7 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.16.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.16.0.bb
@@ -5,7 +5,14 @@  to extract program execution details from the Linux operating system \
 and interpret them."
 HOMEPAGE = "https://github.com/lttng/lttng-tools"
 
-LICENSE = "BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND CC0-1.0 AND CC-BY-SA-4.0 AND FSFAP AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-2.0-or-later WITH Autoconf-exception-2.0 AND GPL-2.0-or-later WITH Autoconf-exception-macro AND LGPL-2.1-only AND LGPL-2.1-or-later AND MIT"
+CODE_LICENSES = "BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND CC0-1.0 AND FSFAP AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-2.0-or-later WITH Autoconf-exception-2.0 AND GPL-2.0-or-later WITH Autoconf-exception-macro AND LGPL-2.1-only AND LGPL-2.1-or-later AND MIT"
+
+LICENSE = "${CODE_LICENSES} AND CC-BY-SA-4.0"
+LICENSE:${PN} = "${CODE_LICENSES}"
+LICENSE:${PN}-dev = "${CODE_LICENSES}"
+LICENSE:${PN}-dbg = "${CODE_LICENSES}"
+LICENSE:${PN}-ptest = "${CODE_LICENSES}"
+LICENSE:${PN}-src = "${CODE_LICENSES}"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f7adf214dab700ec91b393898b515f13 \
                     file://LICENSES/BSD-2-Clause.txt;md5=5d6306d1b08f8df623178dfd81880927 \
                     file://LICENSES/BSD-3-Clause.txt;md5=4e91b9e6ef320f74590c8c7a64a9188a \