On Mon, 2021-06-28 at 11:17 +0200, Rasmus Villemoes wrote: > On 25/06/2021 18.13, Richard Purdie wrote: > > On Fri, 2021-06-25 at 17:45 +0200, Rasmus Villemoes wrote: > > > On 25/06/2021 14.16, Richard Purdie wrote: > > > > 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. > > > > > > 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). > > Indeed, thanks. Alex, do you have enough context from the above, or do I > need to do anything explicitly to file a bug?
Please open a bug in bugzilla: https://bugzilla.yoctoproject.org/ That way we ensure it is tracked and doesn't get lost. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#153353): https://lists.openembedded.org/g/openembedded-core/message/153353 Mute This Topic: https://lists.openembedded.org/mt/83779506/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-