Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
ivi-image: remove hard-coded IMAGE_ROOTFS_SIZE
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mirzak authored and Gunnar Andersson committed Sep 10, 2018
1 parent a90aed5 commit 26ebdc2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions meta-ivi/recipes-yocto-ivi/images/ivi-image.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ LICENSE = "MIT"

inherit core-image buildhistory

IMAGE_ROOTFS_SIZE = "8192"

IMAGE_FEATURES += " package-management"

# Create SD image symlink correctly
Expand Down

0 comments on commit 26ebdc2

Please sign in to comment.