]> code.ossystems Code Review - openembedded-core.git/commit
kernel: provide virtual/kernel for all kernels
authorBruce Ashfield <bruce.ashfield@gmail.com>
Wed, 10 Nov 2021 13:07:16 +0000 (08:07 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Nov 2021 19:26:15 +0000 (19:26 +0000)
commit365dc1471a1b67c45de58aadf29844a9ff83d30f
treef3aacc5b3cdadeb449ad5cd34cdc67f130e1f900
parent7a7d1eed8e3d550ac9bfa301b26095100eeba111
kernel: provide virtual/kernel for all kernels

Since we allow the kernel package name to be varied, we should
allow those packages to provide virtua/kernel, which allows them
to be used as primary kernels.

This change drops the use of regex, since any regex would enforce
naming (and limit what can be a provider) and add complexity./

There are currently no recipes that I found, that inherit kernel
that are not kernel recipes (kernel-base, etc, provide other
facilities), so making this provides simpler shouldn't cause
problems.

Multiple kernel providers can be dealt with in the same way as
any multiple provider.

[YOCTO: #13172]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
squash with provider

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass