Re: [OE-core] RRECOMMENDS "masking" unsatisfiable IMAGE_INSTALL
From: Richard Purdie <hidden>
Date: 2021-06-25 12:16:42
From: Richard Purdie <hidden>
Date: 2021-06-25 12:16:42
On Fri, 2021-06-25 at 09:37 +0200, Rasmus Villemoes via lists.openembedded.org wrote:
I noticed that if I have an image recipe that says
IMAGE_INSTALL += "kernel-module-foo"
it fails as expected when the kernel hasn't been built with CONFIG_FOO=m.
However, if at the same time some other package which happens to get
installed in the same image says
RRECOMMENDS_${PN} += "kernel-module-foo"
the image build silently succeeds, obviously without any foo.ko
included. This doesn't seem right. [I'm well aware that the RRECOMMENDS
line alone works as expected, this is about the case where both the
above lines are in play.]Which package backend are you using and does this happen if you use a different one, particularly swapping ipk and rpm? That might tell us if this is a package manager issue or a bitbake metadata one. Cheers, Richard