commit:     6eb0dc54a2c89c9f73e1d1e68841d2940961ebce
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 13:47:49 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 16:36:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eb0dc54

kernel-2.eclass: Replace the ill-defined linux-firmware license label

Replace by "linux-fw-redistributable all-rights-reserved" which reflects
usage by the linux-firmware package.

This only affects kernels before 4.14.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/kernel-2.eclass | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 2ce1a87c0650..bdeabb9fc2dc 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -680,7 +680,8 @@ if [[ ${ETYPE} == sources ]]; then
                        # Reflect that kernels contain firmware blobs unless 
otherwise
                        # stripped. Starting with version 4.14, the whole 
firmware
                        # tree has been dropped from the kernel.
-                       kernel_is lt 4 14 && LICENSE+=" !deblob? ( 
linux-firmware )"
+                       kernel_is lt 4 14 &&
+                               LICENSE+=" !deblob? ( linux-fw-redistributable 
all-rights-reserved )"
 
                        if [[ -n KV_MINOR ]]; then
                                DEBLOB_PV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
@@ -710,7 +711,7 @@ if [[ ${ETYPE} == sources ]]; then
                elif kernel_is lt 4 14; then
                        # Deblobbing is not available, so just mark kernels 
older
                        # than 4.14 as tainted with non-libre materials.
-                       LICENSE+=" linux-firmware"
+                       LICENSE+=" linux-fw-redistributable all-rights-reserved"
                fi
        fi
 

Reply via email to