Skip to content

Commit

Permalink
initramfs-rootfs-image: exclude all kernel images from the image
Browse files Browse the repository at this point in the history
Exclude all the kernel images from this initramfs. This shrinks the
initramfs for a few megs.

Signed-off-by: Dmitry Baryshkov <[email protected]>
  • Loading branch information
lumag committed Dec 10, 2024
1 parent 9a1cd5a commit aece5de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes-kernel/images/initramfs-rootfs-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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-*"

0 comments on commit aece5de

Please sign in to comment.