[oe-commits] [meta-openembedded] 04/32: initramfs-{debug, kexecboot}-image: zero out the rootfs_extra_space in initramfs images

git at git.openembedded.org git at git.openembedded.org
Mon Apr 25 15:32:18 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit d731380130b3824ae33aac2d000f280708953387
Author: Stephano Cetola <stephano.cetola at linux.intel.com>
AuthorDate: Thu Apr 14 14:06:51 2016 -0700

    initramfs-{debug,kexecboot}-image: 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.
    
    Signed-off-by: Stephano Cetola <stephano.cetola at linux.intel.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 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(+)

diff --git a/meta-initramfs/recipes-bsp/images/initramfs-debug-image.bb b/meta-initramfs/recipes-bsp/images/initramfs-debug-image.bb
index 8e87c19..be7350a 100644
--- a/meta-initramfs/recipes-bsp/images/initramfs-debug-image.bb
+++ b/meta-initramfs/recipes-bsp/images/initramfs-debug-image.bb
@@ -17,5 +17,6 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
 inherit core-image
 
 IMAGE_ROOTFS_SIZE = "8192"
+IMAGE_ROOTFS_EXTRA_SPACE = "0"
 
 BAD_RECOMMENDATIONS += "busybox-syslog"
diff --git a/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-image.bb b/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-image.bb
index 35eb245..45ff50d 100644
--- a/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-image.bb
+++ b/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-image.bb
@@ -19,4 +19,6 @@ IMAGE_LINGUAS = ""
 FEED_DEPLOYDIR_BASE_URI = ""
 LDCONFIGDEPEND = ""
 
+IMAGE_ROOTFS_EXTRA_SPACE = "0"
+
 inherit image

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list