Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: vince@underview.tech, openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 01/19] kernal-vars: introduce new class
Date: Sat, 11 Jul 2026 21:22:17 +0100	[thread overview]
Message-ID: <fb32c995d37fa733f3686caf3350de7b45025c72.camel@linuxfoundation.org> (raw)
In-Reply-To: <20260711052403.1292286-1-vince@underview.tech>

On Sat, 2026-07-11 at 01:23 -0400, Vincent Davis Jr via lists.openembedded.org wrote:
> This class is introduced to fix an issue
> when KERNEL_PACKAGE_NAME is changed.
> 
> A number of recipes rely on hard coded
> kernel prefix set by KERNEL_PACKAGE_NAME
> when including modules. This leads to build
> time failures.
> 
> Such as
> 
> ERROR: Nothing RPROVIDES 'kernel-module-*'
> 
> Signed-off-by: Vincent Davis Jr <vince@underview.tech>
> ---
>  meta/classes-recipe/kernel-vars.bbclass | 7 +++++++
>  1 file changed, 7 insertions(+)
>  create mode 100644 meta/classes-recipe/kernel-vars.bbclass
> 
> diff --git a/meta/classes-recipe/kernel-vars.bbclass b/meta/classes-recipe/kernel-vars.bbclass
> new file mode 100644
> index 0000000000..1acfeb97ea
> --- /dev/null
> +++ b/meta/classes-recipe/kernel-vars.bbclass
> @@ -0,0 +1,7 @@
> +#
> +# Copyright OpenEmbedded Contributors
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +
> +KERNEL_PACKAGE_NAME ??= "kernel"

We are definitely not adding yet another kernel class, particularly for
a single line. There has to be a better way to solve the problem...

Cheers,

Richard


      parent reply	other threads:[~2026-07-11 20:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-11  5:23 [PATCH 01/19] kernal-vars: introduce new class Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 02/19] kernel: introduce kernel-vars class Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 03/19] packagegroup-self-hosted: rename kernel prefix Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 04/19] packegroup-core-boot: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 05/19] packagegroup-base: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 06/19] ofono: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 07/19] iptables: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 08/19] watchdog: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 09/19] nfs-utils: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 10/19] mdadm: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 11/19] systemd: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 12/19] util-linux: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 13/19] connman: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 14/19] hwlatdetect: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 15/19] v86d: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 16/19] efivar: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 17/19] parted: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 18/19] ltp: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 19/19] libnl: " Vincent Davis Jr
2026-07-11 20:22 ` Richard Purdie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb32c995d37fa733f3686caf3350de7b45025c72.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=vince@underview.tech \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox