>>>>> On Thu, 26 Aug 2021, Alice Ferrazzi wrote:

> 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

Somewhat unrelated, since I see calls to kernel_is() in your patch:

That function has a horrible hack for version comparison:

    : $(( test = (KV_MAJOR << 16) + (KV_MINOR << 8) + KV_PATCH ))
    : $(( value = (${1:-${KV_MAJOR}} << 16) + (${2:-${KV_MINOR}} << 8) + 
${3:-${KV_PATCH}} ))
    [ ${test} ${operator} ${value} ]

There are versions like gentoo-sources-4.9.280, so the shift by 8 may
cause surprising results.

I'll send a patch later.

Ulrich

Attachment: signature.asc
Description: PGP signature

Reply via email to