]> code.ossystems Code Review - openembedded-core.git/commit
image_types: Fix rootfs size calcuation
authorSaul Wold <sgw@linux.intel.com>
Thu, 5 Jan 2012 00:46:25 +0000 (16:46 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jan 2012 11:14:39 +0000 (11:14 +0000)
commit73db21a65fbdaf0886a01bcd98ee66e73a7465b8
tree7918cc8a2a21a56786f1fcf14cdc7c90bc78376e
parentf4bed494ab3b3047aad45ff31efcfd59b90e3822
image_types: Fix rootfs size calcuation

The ROOTFS_SIZE calculation was not correctly taking into account
the IMAGE_ROOTFS_EXTRA_SPACE variable, it would only be applied if
the size as determined by the ((du * overhead) + extra space) was
greater than the IMAGE_ROOTFS_SIZE, so if the du * overhead was smaller

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass