diff options
author | Saul Wold <Saul.Wold@intel.com> | 2010-09-08 16:25:25 -0700 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-09-08 16:36:53 -0700 |
commit | 1f65837e7875774a754dda2447cc3b6687c8bc3a (patch) | |
tree | f9b2638da3937af6ef666c9998f4ea46ac385d76 /meta/conf | |
parent | 7400ece67408963c89e30443d813e9025a74c92f (diff) | |
download | poky-1f65837e7875774a754dda2447cc3b6687c8bc3a.tar.gz |
image.bbclass: change IMAGE_EXTRA_SPACE to IMAGE_OVERHEAD_FACTOR
This change allows the IMAGE_OVERHEAD_FACTOR (default to 1.2) to
adjust dynamicly how much space to add for each image, thus there
is 20% overhead space by default.
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index d54aa35b82..f6eee7d2af 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -317,7 +317,11 @@ IMAGE_ROOTFS = "${WORKDIR}/rootfs" | |||
317 | IMAGE_BASENAME = "${PN}" | 317 | IMAGE_BASENAME = "${PN}" |
318 | IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" | 318 | IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" |
319 | IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" | 319 | IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" |
320 | IMAGE_EXTRA_SPACE ?= 81920 | 320 | |
321 | # This option allows for a precentage overage of the actaul image size rather than a | ||
322 | # fixed extra space | ||
323 | IMAGE_OVERHEAD_FACTOR ?= 1.2 | ||
324 | |||
321 | # Comment this option if you want default genext2fs behavior (i.e. create minimal inode number) | 325 | # Comment this option if you want default genext2fs behavior (i.e. create minimal inode number) |
322 | IMAGE_EXTRA_OPTION ?= "-i 8192" | 326 | IMAGE_EXTRA_OPTION ?= "-i 8192" |
323 | 327 | ||