From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: Prasanth R <ragaprasanth@gmail.com>
Cc: openembedded-core@lists.openembedded.org, prasanth.r@lineo.co.jp
Subject: Re: [PATCH] kernel-grub.bbclass: use KERNEL_PACKAGE_NAME for the image packages
Date: Thu, 29 Oct 2026 06:11:32 -0700 (PDT) [thread overview]
Message-ID: <6ae34604.ca480166.87e27.0c55@mx.google.com> (raw)
In-Reply-To: <20261029060913.1586484-1-ragaprasanth@gmail.com>
On Thu, Oct 29, 2026 at 2:09 AM Prasanth R <ragaprasanth@gmail.com> wrote:
>
> kernel-grub adds its scriptlets to kernel-image-<type>, but kernel.bbclass
> names these packages ${KERNEL_PACKAGE_NAME}-image-<type>. With another
> KERNEL_PACKAGE_NAME the scriptlets go to a package that does not exist,
> so they never run and the GRUB menu is not updated on a kernel upgrade.
>
> Use KERNEL_PACKAGE_NAME, as kernel.bbclass and linux-dummy.bbclass do.
>
[...]
>
> + kname = d.getVar('KERNEL_PACKAGE_NAME') or "kernel"
Minor: the 'or "kernel"' isn't needed, since kernel.bbclass already
defaults KERNEL_PACKAGE_NAME with ??=. It's harmless though, so I'm
fine with it as-is.
Acked-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bruce
next prev parent reply other threads:[~2026-10-29 13:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 6:09 [PATCH] kernel-grub.bbclass: use KERNEL_PACKAGE_NAME for the image packages Prasanth R
2026-10-29 13:11 ` Bruce Ashfield [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-29 2:59 prasanth
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=6ae34604.ca480166.87e27.0c55@mx.google.com \
--to=bruce.ashfield@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=prasanth.r@lineo.co.jp \
--cc=ragaprasanth@gmail.com \
/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