[OE-core] [PATCH v2] kernel-module-split: rrecommend kernel-image instead of rdepend

Martin Hundebøll mnhu at prevas.dk
Mon Sep 11 12:19:57 UTC 2017



On 2017-09-11 11:26, Richard Purdie wrote:
> On Mon, 2017-09-11 at 09:02 +0200, Martin Hundebøll wrote:
>>
>> On 2017-09-08 23:29, Paul Barker wrote:
>>>
>>> On Fri, Sep 8, 2017 at 10:07 PM, Martin Hundebøll
>>> <martin.hundeboll at prevas.dk> wrote:
>>>>
>>>>   
>>> No, you'd need it to be set in a conf file so it takes effect when
>>> the
>>> kernel-base package is created.
>>>
>>> I can see the issue here though. Can you set `RDEPENDS_kernel-base
>>> =
>>> ""` globally and explicitly install kernel-image into the
>>> appropriate
>>> image? If not then yes we'll need to find an alternative solution
>>> to
>>> simply reverting the change.
>>>
>> Seems like the inverted approach of disabling install of kernel-
>> image
>> globally, and enabling it per-image works just fine.
>>
>> Reverting the patch is fine by me - sorry for the noise.
> 
> Are you sure? I can't imagine being able to influence this at all from
> an image recipe, either the dependency is present or its not and it
> would be set from the global configuration, not from an image recipe...

Pretty sure, yes.

conf/distro/basic.conf:
RDEPENDS_kernel-base = ""

recipes-filesystems/rootfs.bb:
IMAGE_INSTALL += "kernel-image kernel-module-foo"

recipes-filesystems/rescuefs.bb:
IMAGE_INSTALL += "kernel-module-foo"

// Martin



More information about the Openembedded-core mailing list