summaryrefslogtreecommitdiffstats
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:28:21 +0100
commit4693593cc5f36de052d4abeda6ca16a9f235fb5a (patch)
tree6d2d39eb1daf132d805e220074cd8246eab65664
parent8beb671843f1f8b6613e286c17e746f64c33ffa5 (diff)
downloadpoky-4693593cc5f36de052d4abeda6ca16a9f235fb5a.tar.gz
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. (From OE-Core rev: 3ee82430f3f3eb62cbc949658808d109222e8b24) Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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}"
17inherit core-image 17inherit core-image
18 18
19IMAGE_ROOTFS_SIZE = "8192" 19IMAGE_ROOTFS_SIZE = "8192"
20IMAGE_ROOTFS_EXTRA_SPACE = "0"
20 21
21BAD_RECOMMENDATIONS += "busybox-syslog" 22BAD_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}"
16inherit core-image 16inherit core-image
17 17
18IMAGE_ROOTFS_SIZE = "8192" 18IMAGE_ROOTFS_SIZE = "8192"
19IMAGE_ROOTFS_EXTRA_SPACE = "0"
19BAD_RECOMMENDATIONS += "busybox-syslog" 20BAD_RECOMMENDATIONS += "busybox-syslog"