Skip to contentSkip to conversation

zero out the rootfs_extra_space in initramfs images

PATCH New Stephano Cetola 1 participant 1 message Apr 14, 2016 Arm STM32

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zero out the rootfs_extra_space in initramfs images

Setting IMAGE_ROOTFS_EXTRA_SPACE impacts the initramfs images, results in an error about INITRAMFS_MAXSIZE.

---
 meta/recipes-core/images/core-image-minimal-initramfs.bb        | 1 +
 meta/recipes-extended/images/core-image-testmaster-initramfs.bb | 1 +
 2 files changed, 2 insertions(+)
meta/recipes-core/images/core-image-minimal-initramfs.bb +1 -0
index a26286e..8d7c0d2 100644
@@ -17,5 +17,6 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
 inherit core-image
 
 IMAGE_ROOTFS_SIZE = "8192"
+IMAGE_ROOTFS_EXTRA_SPACE = "0"
 
 BAD_RECOMMENDATIONS += "busybox-syslog"
meta/recipes-extended/images/core-image-testmaster-initramfs.bb +1 -0
index 563260d..ad1407c 100644
@@ -16,4 +16,5 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
 inherit core-image
 
 IMAGE_ROOTFS_SIZE = "8192"
+IMAGE_ROOTFS_EXTRA_SPACE = "0"
 BAD_RECOMMENDATIONS += "busybox-syslog"
Signature · 1 line
2.8.0