]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
core-image-minimal-initramfs: don't install a kernel into the initramfs
authorRoss Burton <ross.burton@arm.com>
Mon, 27 Nov 2023 11:48:23 +0000 (11:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Nov 2023 08:42:52 +0000 (08:42 +0000)
commit2914e6a912c9aa014a05015c3401675d10c0f13b
treee7566e85d9ff1a64d29ec01519a107ce774d8e5a
parent580119844fd93eb7bbc778722a6117a31b7c1591
core-image-minimal-initramfs: don't install a kernel into the initramfs

There's obviously no point in installing a kernel into an initramfs, but
if we install kernel modules then they'll recommend the relevant kernel.

Set PACKAGE_EXCLUDE to ensure the initramfs for a kernel doesn't contain
the kernel.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-core/images/core-image-minimal-initramfs.bb