Re: [PATCH 2/2] kernel-module-split: modules should recommend the kernel image

Richard Purdie

On Thu, 2022-02-10 at 10:52 +0000, Ross Burton wrote:
On Wed, 9 Feb 2022 at 20:10, Bruce Ashfield <bruce.ashfield@...> wrote:
I've always just used this (from kernel.bbclass):

# Allow machines to override this dependency if kernel image files are
# not wanted in images as standard

Maybe that's the one you are remembering ?
Obviously this won't work in the situations where you want a normal
image with a kernel but also a initramfs with a kernel module in it,
as that behaviour isn't machine specific but image specific.

If this was a recommends then it could be removed via PACKAGE_EXCLUDE,
but we'd need to be sure that nothing from the kernel ended up getting
pulled in via a single module.
I think making this a RRECOMMENDS and doing that may enable more workflows and
make things easier all around. Can you check and see if it does pull other
unwanted stuff in? I'm hoping it doesn't.



Join to automatically receive all group messages.