diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-07-27 15:47:49 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-07-27 18:36:07 +0200 |
commit | 6eb0dc54a2c89c9f73e1d1e68841d2940961ebce (patch) | |
tree | 80a9c5f51ce4c8d905a21e3e7aa00b5416eeffd9 /eclass/kernel-2.eclass | |
parent | dev-python/autoprop: Enable py3.12 (diff) | |
download | gentoo-6eb0dc54a2c89c9f73e1d1e68841d2940961ebce.tar.gz gentoo-6eb0dc54a2c89c9f73e1d1e68841d2940961ebce.tar.bz2 gentoo-6eb0dc54a2c89c9f73e1d1e68841d2940961ebce.zip |
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@gentoo.org>
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 5 |
1 files 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 |