diff options
author | Mirza Krak <mirza.krak@northern.tech> | 2018-09-07 15:12:41 +0000 |
---|---|---|
committer | Gunnar Andersson <gandersson@genivi.org> | 2018-09-10 16:28:08 +0200 |
commit | 26ebdc2331db2e74a6f61e92751a78c188162dd6 (patch) | |
tree | 95e30de1252b39c5edccf2090fd5dee87e1a4dd1 | |
parent | a90aed542bff6d50951ea74ecbb3baad3e99ded1 (diff) | |
download | meta-ivi-14.50.1.tar.gz meta-ivi-14.50.1.tar.bz2 meta-ivi-14.50.1.zip |
ivi-image: remove hard-coded IMAGE_ROOTFS_SIZE14.50.1
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.inc | 2 |
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 |