mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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. (From OE-Core rev: 2914e6a912c9aa014a05015c3401675d10c0f13b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a4ddc1415b
commit
d069eb3af4
|
@ -17,6 +17,9 @@ PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} udev base-
|
|||
# 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 = ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user