aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMirza Krak <mirza.krak@northern.tech>2018-09-07 15:12:41 +0000
committerGunnar Andersson <gandersson@genivi.org>2018-09-10 16:23:57 +0200
commit0c7d8350caa9699cbdeed40caf2991503bdb2400 (patch)
treed1b3136d8d1945df124071877cf4efc64fb06f86
parent11923c66573e8d77c79151851ef5b814d36fb26d (diff)
downloadmeta-ivi-0c7d8350caa9699cbdeed40caf2991503bdb2400.tar.gz
meta-ivi-0c7d8350caa9699cbdeed40caf2991503bdb2400.tar.bz2
meta-ivi-0c7d8350caa9699cbdeed40caf2991503bdb2400.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