Re: [OE-core] RRECOMMENDS "masking" unsatisfiable IMAGE_INSTALL
From: Richard Purdie <hidden>
Date: 2021-06-25 16:13:21
On Fri, 2021-06-25 at 17:45 +0200, Rasmus Villemoes wrote:
On 25/06/2021 14.16, Richard Purdie wrote:quoted
On Fri, 2021-06-25 at 09:37 +0200, Rasmus Villemoes via lists.openembedded.org wrote:quoted
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.I was using ipk. It seems to work as expected (i.e. fail the build) when using rpm.
That is probably a bug that needs opening against opkg in bugzilla then. Added Alex to Cc: (opkg maintainer). Cheers, Richard