commit:     6dc2478844cc609e015ccd37a3ea0e07c8486f8c
Author:     Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 26 05:41:07 2021 +0000
Commit:     Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
CommitDate: Mon Aug 30 11:31:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dc24788

Clean deblob

As we are moving out to deprecate EAPI=6 from kernel-2.eclass
start removing it from deblob function. Also clean code linked to old
kernel versions. kernel sources that use deblob are already updated to
EAPI=8

Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org>

 eclass/kernel-2.eclass | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 05c07c4d153..c2f1e93dca6 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -220,11 +220,6 @@ fi
 HOMEPAGE="https://www.kernel.org/ https://wiki.gentoo.org/wiki/Kernel 
${HOMEPAGE}"
 : ${LICENSE:="GPL-2"}
 
-# This is the latest KV_PATCH of the deblob tool available from the
-# libre-sources upstream. If you bump this, you MUST regenerate the Manifests
-# for ALL kernel-2 consumer packages where deblob is available.
-: ${DEBLOB_MAX_VERSION:=38}
-
 # No need to run scanelf/strip on kernel sources/headers (bug #134453).
 RESTRICT="binchecks strip"
 
@@ -600,11 +595,6 @@ if [[ ${ETYPE} == sources ]]; then
 
        # Bug #266157, deblob for libre support
        if [[ -z ${K_PREDEBLOBBED} ]]; then
-               # Bug #359865, force a call to detect_version if needed
-               kernel_is ge 2 6 27 && \
-                       [[ -z ${K_DEBLOB_AVAILABLE} ]] && \
-                               kernel_is le 2 6 ${DEBLOB_MAX_VERSION} && \
-                                       K_DEBLOB_AVAILABLE=1
                # deblob less than 5.10 require python 2.7
                if kernel_is lt 5 10; then
                        K_DEBLOB_AVAILABLE=0
@@ -621,7 +611,6 @@ if [[ ${ETYPE} == sources ]]; then
                        # tree has been dropped from the kernel.
                        kernel_is lt 4 14 && LICENSE+=" !deblob? ( 
linux-firmware )"
 
-                       [[ ${EAPI} == 6 ]] && DEPEND+=" deblob? ( 
${PYTHON_DEPS} )" ||
                        BDEPEND+=" deblob? ( ${PYTHON_DEPS} )"
 
                        if [[ -n KV_MINOR ]]; then

Reply via email to