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>
# Do not pollute the initrd image with rootfs features
IMAGE_FEATURES = ""
+# Don't allow the initramfs to contain a kernel
+PACKAGE_EXCLUDE = "kernel-image-*"
+
export IMAGE_BASENAME = "${MLPREFIX}core-image-minimal-initramfs"
IMAGE_NAME_SUFFIX ?= ""
IMAGE_LINGUAS = ""