From 7a6d48a0294fadb2ff979e5ec071e21db2448aa7 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 7 Aug 2023 07:12:10 +0000 Subject: [PATCH] eclass/kernel-2: Sync with Gentoo It's from Gentoo commit 6eb0dc54a2c89c9f73e1d1e68841d2940961ebce. --- .../src/third_party/portage-stable/eclass/kernel-2.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/kernel-2.eclass b/sdk_container/src/third_party/portage-stable/eclass/kernel-2.eclass index 2ce1a87c06..bdeabb9fc2 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/kernel-2.eclass +++ b/sdk_container/src/third_party/portage-stable/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