]> code.ossystems Code Review - openembedded-core.git/commit
kernel: make kernel-base recommend kernel-image, not depend
authorRoss Burton <ross@burtonini.com>
Thu, 10 Feb 2022 11:52:01 +0000 (11:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Feb 2022 21:52:08 +0000 (21:52 +0000)
commit1c90b27d2c65cfb4f9debf0272820b6a95942f76
treecc3e9d9cef71a230879ad735ba7aafede790639d
parent37efc67e9f4560edba05c7c50acfd0d420c143ff
kernel: make kernel-base recommend kernel-image, not depend

As kernel modules depend on the base kernel package, and the base kernel
recipe depends on the kernel image, it's impossible to build file system
images which contain kernel modules but not the kernel itself, such as
an initramfs.

Change the RDEPENDS to RRECOMMENDS so that the disk images can set
PACKAGE_EXCLUDE = "kernel-image-*" to remove the kernel.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass