meta-st-stm32mp/recipes-st/images/st-image-bootfs.bb

23 lines
701 B
BlitzBasic

SUMMARY = "STM32MP bootfs Image"
LICENSE = "MIT"
include recipes-st/images/st-image-partitions.inc
# Set ROOTFS_MAXSIZE to expected ROOTFS_SIZE to use the whole disk partition and leave extra space to user
IMAGE_ROOTFS_MAXSIZE = "${IMAGE_ROOTFS_SIZE}"
IMAGE_OVERHEAD_FACTOR = "1"
IMAGE_ROOTFS_EXTRA_SPACE = "0"
# Add specific package for our image:
PACKAGE_INSTALL += " \
kernel-imagebootfs \
stm32mp-extlinux \
${@bb.utils.contains('MACHINE_FEATURES', 'splashscreen', 'u-boot-stm32mp-splash', '', d)} \
"
# Add specific initrd package to bootfs
INITRD_PACKAGE ?= ""
PACKAGE_INSTALL += " \
${@bb.utils.contains('MACHINE_FEATURES', 'initrd', '${INITRD_PACKAGE}', '', d)} \
"