]> code.ossystems Code Review - openembedded-core.git/commit
wic: use bitbake variable ROOTFS_SIZE
authorEd Bartosh <ed.bartosh@linux.intel.com>
Sun, 30 Aug 2015 21:14:27 +0000 (00:14 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Aug 2015 22:26:14 +0000 (23:26 +0100)
commit173d440c14ee3140ae08c6a87decc9b2f4c9e391
treeaa9e5961a480e8a03a342c9f5e51c0bdb982a770
parent9d12fe44fdb52aeb8aa2c5c2c83175a06a0c7224
wic: use bitbake variable ROOTFS_SIZE

If bitbake image is referenced in .ks file and --size is not used
there wic uses ROOTFS_SIZE variable to set minimum partition size.

ROOTFS_SIZE is calculated in meta/lib/oe/image.py when rootfs is
created. The calculation is done using other image parameters:
IMAGE_ROOTFS_SIZE, IMAGE_ROOTFS_ALIGNMENT, IMAGE_OVERHEAD_FACTOR
and IMAGE_ROOTFS_EXTRA_SPACE.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/imager/direct.py