From 37be85ca493a235d9c8de206d280acc4153c0ed7 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Wed, 23 Mar 2022 22:53:34 +0300 Subject: [PATCH] initramfs-rootfs-image: exclude all kernel images from the image Exclude all the kernel images from this initramfs. This shrinks the initramfs for a few megs. Signed-off-by: Dmitry Baryshkov --- recipes-kernel/images/initramfs-rootfs-image.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-kernel/images/initramfs-rootfs-image.bb b/recipes-kernel/images/initramfs-rootfs-image.bb index e7d52dbfc..9bc9dc5da 100644 --- a/recipes-kernel/images/initramfs-rootfs-image.bb +++ b/recipes-kernel/images/initramfs-rootfs-image.bb @@ -21,3 +21,6 @@ inherit core-image IMAGE_ROOTFS_SIZE = "8192" IMAGE_ROOTFS_EXTRA_SPACE = "0" + +# Exclude all kernel images from the rootfs +PACKAGE_EXCLUDE = "kernel-image-*"