diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-05-23 23:22:41 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-25 15:50:57 +0100 |
commit | a3d6defd6365b6eae717bcf3568916306650db8a (patch) | |
tree | 14e7e0639329a58ac8b0f49065d2fdf34f67b378 /meta/conf | |
parent | 470c0fee68418bed0fff0f507a64ed3ba131b746 (diff) | |
download | poky-a3d6defd6365b6eae717bcf3568916306650db8a.tar.gz |
image_types: add IMAGE_ROOTFS_EXTRA_SPACE
[YOCTO #886]
This address 2 needs after the IMAGE_ROOTFS_SIZE is cleaned up, by
removing the _ext2/3 overrides it allows for a cleaner override
using IMAGE_ROOTFS_SIZE to create a large rootfs, or by setting the
IMAGE_ROOTFS_EXTRA_SPACE, will allow for extra space allocated in Kilobytes
above the base size (determined by du of the rootfs * IMAGE_OVERHEAD_FACTOR,
default of 1.3).
(From OE-Core rev: 367934ada7c081ba3fc95f02dc14c7d6f97bfccb)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 18028f3001..35fd6f864f 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -350,6 +350,10 @@ IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" | |||
350 | # This option allows for a precentage overage of the actaul image size rather than a | 350 | # This option allows for a precentage overage of the actaul image size rather than a |
351 | # fixed extra space | 351 | # fixed extra space |
352 | IMAGE_OVERHEAD_FACTOR ?= 1.3 | 352 | IMAGE_OVERHEAD_FACTOR ?= 1.3 |
353 | # This option allow for adding addition space in K above and beyond what the | ||
354 | # IMAGE_OVERHEAD_FACTOR might add. To set a fixed size then overrideing IMAGE_ROOTFS_SIZE | ||
355 | # with the max size one wants should do the trick | ||
356 | IMAGE_ROOTFS_EXTRA_SPACE = "0" | ||
353 | 357 | ||
354 | EXTRA_IMAGEDEPENDS = "" | 358 | EXTRA_IMAGEDEPENDS = "" |
355 | 359 | ||