summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephano Cetola <stephano.cetola@linux.intel.com>2016-04-14 13:53:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-18 16:27:44 +0100
commit3ee82430f3f3eb62cbc949658808d109222e8b24 (patch)
tree342f5dc2e92b65304bc869f3bb0f5c17c0a3be38
parentd41930e1daa933cf4bf063fa79a2e8fc9129e1b1 (diff)
downloadopenembedded-core-3ee82430f3f3eb62cbc949658808d109222e8b24.tar.gz
openembedded-core-3ee82430f3f3eb62cbc949658808d109222e8b24.tar.bz2
openembedded-core-3ee82430f3f3eb62cbc949658808d109222e8b24.zip
images: 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@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-core/images/core-image-minimal-initramfs.bb1
-rw-r--r--meta/recipes-extended/images/core-image-testmaster-initramfs.bb1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb b/meta/recipes-core/images/core-image-minimal-initramfs.bb
index a26286eb19..8d7c0d2d3e 100644
--- a/meta/recipes-core/images/core-image-minimal-initramfs.bb
+++ b/meta/recipes-core/images/core-image-minimal-initramfs.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/recipes-extended/images/core-image-testmaster-initramfs.bb b/meta/recipes-extended/images/core-image-testmaster-initramfs.bb
index 563260d3b8..ad1407c7a2 100644
--- a/meta/recipes-extended/images/core-image-testmaster-initramfs.bb
+++ b/meta/recipes-extended/images/core-image-testmaster-initramfs.bb
@@ -16,4 +16,5 @@ IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
inherit core-image
IMAGE_ROOTFS_SIZE = "8192"
+IMAGE_ROOTFS_EXTRA_SPACE = "0"
BAD_RECOMMENDATIONS += "busybox-syslog"