aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMirza Krak <mirza.krak@northern.tech>2018-09-07 15:12:41 +0000
committergunnarx <gunnarx@users.noreply.github.com>2018-09-10 16:22:03 +0200
commit0f56bcd64aa5823c09cbee987e3cab196efb70be (patch)
tree280d12071122369105bc1672f86959f0f7aeb66c
parent9d1b8dd564e83c99e230dd96c465f98fd9d3d041 (diff)
downloadmeta-ivi-0f56bcd64aa5823c09cbee987e3cab196efb70be.tar.gz
meta-ivi-0f56bcd64aa5823c09cbee987e3cab196efb70be.tar.bz2
meta-ivi-0f56bcd64aa5823c09cbee987e3cab196efb70be.zip
ivi-image: remove hard-coded IMAGE_ROOTFS_SIZE
The image rootfs size is determined by the following algorithm (from Yocto ref manual): if (image-du * overhead) < rootfs-size: internal-rootfs-size = rootfs-size + xspace else: internal-rootfs-size = (image-du * overhead) + xspace Currently rootfs-size is set to 8 MB which essentially means that it will never be used as it is considered as a minimum. By removing it from the image, the weak default value (65536) will be used which is defined in bitbake.conf. The primary reason of removing it is to be able to set a custom value in e.g local.conf which is currently not possible. Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
-rw-r--r--meta-ivi/recipes-yocto-ivi/images/ivi-image.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta-ivi/recipes-yocto-ivi/images/ivi-image.inc b/meta-ivi/recipes-yocto-ivi/images/ivi-image.inc
index 2ef6985..c61edc4 100644
--- a/meta-ivi/recipes-yocto-ivi/images/ivi-image.inc
+++ b/meta-ivi/recipes-yocto-ivi/images/ivi-image.inc
@@ -9,8 +9,6 @@ LICENSE = "MIT"
inherit core-image buildhistory
-IMAGE_ROOTFS_SIZE = "8192"
-
IMAGE_FEATURES += " package-management"
# Create SD image symlink correctly