]> code.ossystems Code Review - openembedded-core.git/commit
kernel-module-split: rrecommend kernel-image instead of rdepend
authorMartin Hundebøll <mnhu@prevas.dk>
Mon, 21 Aug 2017 09:21:34 +0000 (11:21 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Aug 2017 07:44:40 +0000 (08:44 +0100)
commit5dd7ddb66a6846d9bb59dc7833e8318992d0e645
tree437a9ea3ac7d8bc6afab682e853b341e2b46c573
parentfb3e30e45eea2042fdb0b667cbc2c79ae3f5a1a9
kernel-module-split: rrecommend kernel-image instead of rdepend

Hard depending on the kernel makes it impossible to install kernel
modules without getting the kernel image installed too. This is
inconvenient in e.g. initramdisks, where the kernel is loaded from
outside the initramdisk.

Making the kernel modules rrecommend kernel-image-<version> instead of
rdepending on it, makes it possible to install kernel modules without
the kernel image by setting "kernel-image" in BAD_RECOMMENDATIONS.

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-module-split.bbclass