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

Ross Burton <ross@...>

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.


Join to automatically receive all group messages.