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

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-initramfs/recipes-bsp/images/initramfs-debug-image.bb     | 1 +
 meta-initramfs/recipes-bsp/images/initramfs-kexecboot-image.bb | 2 ++
 2 files changed, 3 insertions(+)
meta-initramfs/recipes-bsp/images/initramfs-debug-image.bb +1 -0
index 8e87c19..be7350a 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-initramfs/recipes-bsp/images/initramfs-kexecboot-image.bb +2 -0
index 35eb245..45ff50d 100644
@@ -19,4 +19,6 @@ IMAGE_LINGUAS = ""
 FEED_DEPLOYDIR_BASE_URI = ""
 LDCONFIGDEPEND = ""
 
+IMAGE_ROOTFS_EXTRA_SPACE = "0"
+
 inherit image
Signature · 1 line
2.8.0