From: Kevin Hao <kexin....@windriver.com> It may trigger the following error if we set a big value to IMAGE_ROOTFS_EXTRA_SPACE. ERROR: dm-verity-image-initramfs-1.0-r0 do_image_cpio: The initramfs size 5308416(K) exceeds INITRAMFS_MAXSIZE: 131072(K)
So zero out it for initramfs image to fix this issue. This is also what the initramfs images do in oe-core. Signed-off-by: Kevin Hao <kexin....@windriver.com> --- recipes-core/images/dm-verity-image-initramfs.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/images/dm-verity-image-initramfs.bb b/recipes-core/images/dm-verity-image-initramfs.bb index 78f7b49b27d6..b6d3bdc424d2 100644 --- a/recipes-core/images/dm-verity-image-initramfs.bb +++ b/recipes-core/images/dm-verity-image-initramfs.bb @@ -17,6 +17,7 @@ PACKAGE_INSTALL = " \ # We want a clean, minimal image. IMAGE_FEATURES = "" IMAGE_LINGUAS = "" +IMAGE_ROOTFS_EXTRA_SPACE = "0" # Can we somehow inspect reverse dependencies to avoid these variables? python __anonymous() { -- 2.40.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62566): https://lists.yoctoproject.org/g/yocto/message/62566 Mute This Topic: https://lists.yoctoproject.org/mt/104505766/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-