]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:47:02 +0000 (08:47 +0100)
commite0ed52c51464855e9a6a37ea49df7efde7e91076
tree1a4c14c3b076ca60f9d21a84fb4b2c38c7f03916
parent9086b525dd00f482ea68a384540cd30778413c9e
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.

(From OE-Core rev: 5dd7ddb66a6846d9bb59dc7833e8318992d0e645)

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