diff options
author | Stephano Cetola <stephano.cetola@linux.intel.com> | 2016-04-14 13:53:27 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-18 16:28:21 +0100 |
commit | 4693593cc5f36de052d4abeda6ca16a9f235fb5a (patch) | |
tree | 6d2d39eb1daf132d805e220074cd8246eab65664 | |
parent | 8beb671843f1f8b6613e286c17e746f64c33ffa5 (diff) | |
download | poky-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.bb | 1 | ||||
-rw-r--r-- | meta/recipes-extended/images/core-image-testmaster-initramfs.bb | 1 |
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}" | |||
17 | inherit core-image | 17 | inherit core-image |
18 | 18 | ||
19 | IMAGE_ROOTFS_SIZE = "8192" | 19 | IMAGE_ROOTFS_SIZE = "8192" |
20 | IMAGE_ROOTFS_EXTRA_SPACE = "0" | ||
20 | 21 | ||
21 | BAD_RECOMMENDATIONS += "busybox-syslog" | 22 | 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}" | |||
16 | inherit core-image | 16 | inherit core-image |
17 | 17 | ||
18 | IMAGE_ROOTFS_SIZE = "8192" | 18 | IMAGE_ROOTFS_SIZE = "8192" |
19 | IMAGE_ROOTFS_EXTRA_SPACE = "0" | ||
19 | BAD_RECOMMENDATIONS += "busybox-syslog" | 20 | BAD_RECOMMENDATIONS += "busybox-syslog" |